378
CHAPTER 20 UART2, UART3
20.6.2
Reload Counter
This is the 15-bit reload counter that works as a dedicated baud rate generator, and
generates the transmission/reception clock through the external or internal clock.
In addition, it can read the value of the transmission reload counter from the baud rate
generator registers (BGR02/BGR03, BGR12/BGR13).
■
Function of the Reload Counter
The reload counter has a transmission and reception reload counters that works as the dedicated baud rate
generator. It consists of the 15-bit resister for the reload value, and generates the transmission/reception
clock through the external or internal clock. In addition, it can read the value of the transmission reload
counter from the baud rate generator registers (BGR02/BGR03, BGR12/ BGR13).
■
Start of the Count
When a reload value is written into the baud rate generator registers (BGR02/BGR03, BGR12/BGR13), the
reload counter starts counting.
■
Restarting the Reload Counter
The Reload Counters can be restarted of the following reasons:
Transmission and reception reload counter:
•
Global MCU reset
•
UART2, UART3 programmable clear (SMR2/SMR3:UPCL bit)
•
User programmable restart (SMR2/SMR3:REST bit)
Reception reload counter:
•
Automatic restart (Start bit falling edge detection in asynchronous mode)
●
Programmable Restart
If the REST bit of the Serial Mode Register (SMR2/SMR3) is set by the user, both Reload Counters are
restarted at the next clock cycle. This feature is intended to use the Transmission Reload Counter as a small
timer.
The following figure illustrates a possible usage of this feature (assume that the reload value is 100.)
Содержание MB90390 Series
Страница 2: ......
Страница 4: ......
Страница 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Страница 18: ...xiv ...
Страница 132: ...104 CHAPTER 5 CLOCKS ...
Страница 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Страница 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Страница 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Страница 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Страница 274: ...246 CHAPTER 15 WATCH TIMER ...
Страница 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Страница 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 364: ...336 CHAPTER 19 UART0 UART1 ...
Страница 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Страница 432: ...404 CHAPTER 20 UART2 UART3 ...
Страница 482: ...454 CHAPTER 22 SERIAL I O ...
Страница 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Страница 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Страница 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Страница 722: ...694 APPENDIX ...
Страница 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 740: ......