12
12-20
Ver.0.10
SERIAL I/O
12.2 Serial I/O Related Registers
Figure 12.2.4 Data Format when Parity is Enabled
ST : Start bit
PAR : Parity bit
: One frame equivalent
D : Data bit
SP : Stop bit
If the attribute (odd/even) of the number of 1's
included in data bits agrees with the selected
parityattribute, a 0 is added as parity bit. If the
attribute (odd/even) of the number of 1's included
in data bits does not agree with the selected
parity attribute, a 1 is added as parity bit.
D7
D6
D5
D4
D3
D2
D1
D0 PAR SP
ST
Attribute of D7 + D6 + ... +D0
When it agrees with the
selected parity attribute,
PAR = 0 is added.
LSB
MSB
If the result of D7 + D6 + ... D0 + PAR does not
agree with the selected parity attribute, a parity
error is assumed.
Note 1: Shown above is an example of data format in 8-bit UART mode.
Note 2: The data bit numbers (Dn) above indicate bit numbers in a data list, and not the register bit numbers (Dn).
●
9-bit UART mode
●
8-bit UART mode
D6
D5
D4
D3
D2
D1
D0
PAR
SP
ST
Note 1 Note 2
●
7-bit UART mode
D7
D6
D5
D4
D3
D2
D1
●
Clock-synchronous mode
D0
Note 1: Whether or not to add a parity bit is selectable.
Note 2: The stop bit can be one bit or two bits long as selected.
Direction of transfer
D6
D5
D4
D3
D2
D1
D0
PAR
SP
ST
Note 1 Note 2
D7
D6
D5
D4
D3
D2
D1
D0
PAR
SP
ST
Note 1 Note 2
D7
D8
●
When transmitting
Received data is checked to see if the number
of 1's included in its data bits and the parity bit
agrees with the parity attribute (known as parity
check).
●
When receiving
When it agrees with the
selected parity attribute,
PAR = 0 is added.
D7
D6
D5
D4
D3
D2
D1
D0 PAR SP
ST
LSB
MSB
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...