SN8P1829
8-Bit MCU build-in 12-bit ADC + PGIA + Charge-pump Reg 128 dots LCD driver
SONiX TECHNOLOGY CO., LTD
Page 93
Version 1.0
SIOM MODE REGISTER
SIOM initial value = 0000 x000
0B4H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
SIOM
SENB START
SRATE1
SRATE0
SIG SCKMD
SEDGE TXRX
R/W R/W R/W R/W R/W R/W R/W R/W
SENB:
SIO function control bit.
0 = Disable (P5.0~P5.2 is general purpose port)
1 = Enable (P5.0~P5.2 is SIO pins).
START:
SIO progress control bit.
0 = End of transmit
1 = Progressing.
SRATE [1:0] :
SIO transmit rate select bit.
00 = F
CPU
, 01 = F
CPU
/32, 10 = F
CPU
/16, 11 = F
CPU
/8.
(Note: These 2-bits are workless when SCKMD=1)
SIG:
Start SIO receiver function automatically.
0 = Disable
1 = Enable.
SCKMD:
SIO clock mode select bit.
0 = Internal
1 = External mode.
SEDGE:
SIO transmit clock edge select bit.
0 = Falling edge
1 = Raising edge
TXRX:
SIO transfer direction select bit.
0 = Receive only
1 = Transmit/Receive full duplex.
Note 1: If SCKMD=1 for external clock, the SIO is in SLAVE mode.
If SCKMD=0 for internal clock, the SIO is in MASTER mode.
Note 2: Don’t set SENB and START bits in the same time. That makes the SIO function error.