Rev. 1.0, 09/02, page 423 of 568
Yes
[1]
[2]
[3]
[4]
[5]
[6]
[1] Initialization:
Specify the settings such as receive data format.
[2] Start reception:
When SSRDR is dummy-read with RE = 1,
reception is started.
[3], [6] Receive error processing:
When a receive error occurs execute the
designated error processing after reading the
ORER bit in SSSR. After that, Clear the ORER
bit to 0. While the ORER bit is set to 1,
transmission or reception is not resumed.
[4] To continue single reception:
When continueing single reception, the next single
reception starts after reading received data in SSRDR.
[5] To complete reception:
To complete reception, read received data after
clearing the RE bit to 0. When reading SSRDR without
clearing the RE bit, reception is resumed.
Yes
Yes
No
No
Start
Initialization
RE = 1 (reception enabled)
Dummy-read SSRDR
Read SSRDR
ORER = 1?
RDRF = 1?
Continous data reception?
Read received data in SSRDR
RDRF automatically cleared
RE = 0
Read received data in SSRDR
End reception
Overrun error processing
Clear ORER in SSSR
End reception
Note: Hatching boxes represent SSU internal operations.
Figure 16.8 Example of Data Reception Flowchart
•
Data Transmission/Reception
Figure 16.9 shows an example of simultaneous transmission/reception operation. The data
transmission/reception is performed combining the data transmission and data reception as
mentioned above. The data transmission/reception is started by writing transmit data to SSTDR
with TE
=
RE
=
1.
Before switching transmission mode (TE
=
1) or reception mode (RE
=
1) to
transmission/reception mode (TE
=
RE
=
1), clear the TE and RE bits to 0. When starting the
transfer, confirm that the TEND, RDRF, and ORER bits are cleared to 0 before setting the TE and
RE bits to 1.
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...