SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 151
Revision 1.93
FALLING EDGE RECEIVER MODE
Example: Master Rx falling edge
MOV
A,#0FFH
; Set SIO clock with auto-reload function.
B0MOV
SIOR,A
MOV
A,#10000000B
; Setup SIOM and enable SIO function. Falling edge.
B0MOV
SIOM,A
B0BSET
FSTART
; Start receiving SIO data.
CHK_END:
B0BTS0
FSTART
; Wait the end of SIO operation.
JMP
CHK_END
B0MOV
A,SIOB
; Save SIOB data into RXDATA buffer.
MOV
RXDATA,A
SO
SI
DI0
RX data
LSB
Normal I/O Application
DI7
DI6
DI5
DI4
MSB
DI3
DI2
DI1
SCK
Figure 9-7. The Falling Edge Timing Diagram of Master Receiving Operation