307
CHAPTER 13 UART
13.6.2
Reception Operations (Operating Mode 0, 1, or 3)
When data is received at the serial data input pin, the internal reception shift register
converts it from serial to parallel. If the data is correctly transmitted up to the stop
bit(s), data in the internal shift register is transferred to the SIDR register, then "1" is set
to the RDRF bit.
■
Reception Operations (Operating Mode 0, 1, or 3)
If an overrun error or framing error occurs, the received data is not transmitted to the SIDR register, but the
ORFE bit is set to "1".
Either of the RDRF bit and ORFE bit goes on when the final stop bit is detected after data is fully received.
If the reception interrupt is enabled (SSD: RIE = 1), an interrupt request to the CPU (IRQ6) is generated.
When the RDRF bit goes on, the received data has been transmitted to the SIDR register.
In operating mode 2, when the RIE bit is "1", RDRF bit or ORFE bit is "1", and reception interrupt pin is
"1", the mode 2 UART reception interrupt request is output to the CPU.
Note:
In operating mode 1, the parity bit is read as data in the 7th bit. Set up the program so that the 7th bit is
not read.
Figure 13.6-4 , Figure 13.6-5 , and Figure 13.6-6 show the reception operations when parity is not used and
the number of stop bits is "1" in operating mode 0, 1, or 3.
Figure 13.6-4 Reception Operations in Operating Mode 0, 1, or 3
RDRF
STOP
START
0
1
2
3
4
5
6
7
Data
Reception
interrupt
Содержание 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: ......