datasheetbank_Logo
数据手册搜索引擎和 Datasheet免费下载 PDF

NJU3504FA1 查看數據表(PDF) - Japan Radio Corporation

零件编号
产品描述 (功能)
比赛名单
NJU3504FA1
JRC
Japan Radio Corporation  JRC
NJU3504FA1 Datasheet PDF : 60 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
NJU3504
An example of the serial data reception program)
In the internal clock operation, SDI(O) terminal is set as the input and the serial input data is transferred
to RAM.
:
:
;---- Interrupt process ----
ORG $40
SINT
SRPC
LDI
Y,1
TPA
TBA 0
JMP SIO_OK
JMP SINT_E
;
SIO_OK LDI
Y,2
RRPC
LDI
X,SIO_DAT.X
LDI
Y,SIO_DAT.Y
TPMICY
TPMICY
;
SINT_E RETI
;
;------ Serial data inputting process ------
SIO_IN SRPC
LDI
Y,0
CLA
TAP
LDI
Y,1
LDI
A,%0000
;
SIO_DAT
TAP
LDI
A,%0001
TAP
:
:
WSEG
DS
2
;Interrupt vector address of FULL or EMPTY
;
;The Serial Input / Output control register is set
;
;The end flag of transmission is tested
;
;
;The Serial Input / Output shift register is set
;RAM to store the serial input data is pointed
;RAM address, X=0
;RAM address, Y=0
;The serial input data is transferred to RAM
; (lower 4-bit) and Y-register is incremented
;The serial input data is transferred to RAM
; (higher 4-bit) and Y-register is incremented
; End of the interrupt process
;
;The peripheral register table is set
;
;
;The Serial Input / Output control register is set
;The internal clock operation is set and the SDI(O)
; terminal is set as the input
;
;The serial data reception is started
;The RAM area is set
;The area to store the serial input data is secured
- 34 -

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]