285
CHAPTER 13 UART
●
Serial mode control register (SMC)
The SMC register controls UART operating mode. This register specifies the parity setting, stop bit length,
operating mode (data length), and synchronous/asynchronous mode, and enables/disables UART serial
clock output and serial data output.
●
Serial rate control register (SRC)
The SRC register controls the UART data transfer speed (baud rate). This register selects the input clock
and specifies the transfer rate to be applied when the baud rate generator is used.
●
Serial status and data register (SSD)
The SSD register indicates UART transmitting/receiving status, status in an error, parity received, or data
received at bit8. This register also enables/disables interrupts or specifies and confirms parity transmitted or
data transmitted with bit8.
●
Serial input data register (SIDR)
The SIDR register stores received data. Serial input is converted, then stored into this register. However,
the most significant bit of 9-bit data is stored in the SSD RD8/RP bit.
●
Serial output data register (SODR)
The SODR register specifies data to be transmitted. Data written into this register is converted to serial
format, then output. The most significant bit of 9-bit data is set in the SSD TD8/TP bit.
●
Clock generator
The clock generator generates the transmit/receive clock in accordance with the dedicated baud rate
generator, external clock, and 8-bit PWM timer output.
●
Reception control circuit
The reception control circuit consists of the received byte counter, start bit detection circuit, and received
parity handling circuit.
The received byte counter takes count of received data. When a unit of data that corresponds to the
specified data length is fully received, an interrupt request is generated.
The start bit detection circuit detects start bits in serial input signals. When the start bit detection circuit
detects a start bit, it writes data into the SIDR with shifts in accordance with the transfer rate.
When parity is used, the received parity handling circuit stores the parity bit in the data received. It also
stores the most significant bit of 9-bit data received.
●
Transmission control circuit
The transmission control circuit consists of the transmitted byte counter and transmitted parity handling
circuit.
The transmitted byte counter takes count of data to be transmitted. When a unit of data that corresponds to
the specified data length is fully transmitted, an interrupt request is generated.
When parity is used, the transmitted parity handling circuit generates a parity bit for the data to be
transmitted. It sets the most significant bit for data transmitted when it is made up of 9 bits.
Содержание 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: ......