SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 66
Revision 1.93
SIOM – SIO Transceiver Mode Register
Register Name
SIOM
Address 0B4H
Bit
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit’s Name
SENB
START
SRATE1
SRATE0 0 SCKMD
SEDGE
TXRX
Read/Write R/W R/W R/W R/W - R/W R/W R/W
Initial
Value
0 0 0 0 - 0 0 0
Bit3
0
Always write zero.
Note: The bit 3 of SIOM must be set to “0” during SIO operating.
SENB
SIO Transceiver Control Bit
0
SIO transceiver disable. P5.0~P5.2 are general purpose pins.
1
SIO transceiver enable. P5.0~P5.2 are SIO pins.
START
SIO Start Bit
0
End of SIO transfer.
1
Start to SIO.
SRATE1,SRATE0
SIO Clock Source select Bits
00
Fcpu. (Fcpu is instruction cycle).
01
Fcpu/32.
10
Fcpu/16.
11
Fcpu/8.
SCKMD
SIO’s Clock Source Select Bit
0
Internal
clock
1
External
clock.
SEDGE
SIO’s Transfer Clock Edge Select Bit
0
Falling
edge.
1
Rising
edge.
TXRX
SIO’s Transfer Direction Select Bit
0
Receiver
only.
1
Transmitter/receiver full duplex.