291
CHAPTER 13 UART
Table 13.4-1 Explanation of Functions of Each Bit in the Serial Mode Control Register (SMC)
Bit name
Description
bit7
PEN:
Parity enable bit
This bit selects whether the parity bit is to be added (at transmission) and
detected (at reception) when serial data is input/output.
bit6
SBL:
Stop bit length selection bit
This bit selects the stop bit length for data to be transmitted.
Note:
When data is received, only the first bit of stop bits is detected and the
second and later bits are ignored.
bit5,
bit4
MC1, MC0:
Operating mode selection bits
•
These bits specify operating mode (data length).
•
There are 7 types of data length selectable in combination with a parity
bit.
bit3
SMDE:
Synchronization mode selection
bit
•
This bit specifies synchronous transfer or asynchronous transfer mode.
•
When this bit is "0", synchronous transfer mode is set. When this is "1",
asynchronous transfer mode is set.
bit2
Unused bit
•
The value read out from this bit is undefined.
•
Writing a value into this bit does not affect any operations.
bit1
SCKE:
Clock output enable bit
•
This bit controls I/O of the serial clock.
•
When this bit is "0", P30/UCK/SCK pin functions as the serial clock
input pin. When this bit is "1", it functions as the serial clock output
pin.
Notes:
• When the UCK pin functions as the serial clock input pin (SCKE = 0),
set the P30/UCK/SCK pin as the input port. Also, select the external
clock using the clock input selection bit (SRC: CS1 and CS0 = 00
B
).
• When the UCK pin is set as the serial clock output pin (SCKE = 1),
select a clock other than the external clock (SRC: CS1 and CS0 must
not be 00
B
).
Note:
When the UCK pin is specified as the serial clock output (SCKE = 1), it
functions as the UCK output pin regardless of the state of the general-
purpose port (P30).
bit0
SOE:
Serial data output enable bit
When this bit is "0", the P31/UO/SO pin functions as a general-purpose
port (P31). When this bit is "1", it functions as the serial data output pin
(UO).
Note:
When serial data output is enabled (SOE = 1), the pin functions as the
UO pin regardless of the state of the general-purpose port (P31).
Содержание F2MC-8L F202RA
Страница 2: ......
Страница 4: ......
Страница 32: ...16 CHAPTER 1 OVERVIEW ...
Страница 90: ...74 CHAPTER 3 CPU ...
Страница 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Страница 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Страница 174: ...158 CHAPTER 7 8 BIT PWM TIMER User processing POPW A XCHW A T Restoring A and T POPW A RETI ENDS ...
Страница 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Страница 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Страница 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Страница 258: ...242 CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 EDGE PUSHW A User processing POPW A XCHW A T POPW A RETI ENDS END ...
Страница 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Страница 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Страница 371: ...355 CHAPTER 16 WILD REGISTER FUNCTION 16 3 5 Data Test Set Register WROR A test register Do not access this register ...
Страница 390: ...374 CHAPTER 17 FLASH MEMORY ...
Страница 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 434: ...418 INDEX ...
Страница 436: ......