EM78P312N
8-Bit Microcontroller
Bit 4 ~ Bit 2 ( BRATE2 ~ BRATE1 ) : Transmit Baud Rate Select
BRATE2
BRATE1
BRATE0
Baud Rate
Fc/13
e.g. Fc=8MHz
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
38400
19200
9600
4800
2400
1200
-
Fc/26
Fc/52
Fc/104
Fc/208
Fc/416
TC4
reserved
-
Bit 1 ( UTBE ): UART transfer buffer empty flag. Set to 1 when transfer buffer is empty.
Reset to 0 automatically when writing into the URTD register. UTBE bit
will be cleared by hardware when enabling the transmission. UTBE bit
is read-only. Therefore, writing to the URTD register is necessary
when starting transmission shifting.
Bit 0 ( TXE ): Enable transmission
TXE = “0” : Disable
TXE = “1” : Enable
Bank 2 R6 URC2 (UART Control Register 2)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
SBIM1
SBIM0
UINVEN
0
0
0
Bit 5 ~ Bit 4 ( SBIM1 ~ SBIM0 ) : Serial bus interface operation mode select.
TC2CK1
TC2CK0
Operation Mode
I/O mode
0
0
1
1
0
1
0
1
SPI mode
UART mode
Reserved
Bit 3 ( UINVEN ) : Enable UART TXD and RXD port inverse output.
UINVEN = “0” : Disable TXD and RXD port inverse output.
UINVEN = “1” : Enable TXD and RXD port inverse output.
Bank 2 R7 URS (UART Status Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
URRD8
EVEN
PRE
PRERR
OVERR
FMERR
URBF
RXE
Bit 7 ( URRD8 ) : Receiving data Bit 8
Product Specification (V1.0) 10.03.2006
(This specification is subject to change without further notice)
• 15