Hitachi H8/3664 Hardware Manual page 268

Table of Contents

Advertisement

Bit 4—Parity Mode (PM): Bit 4 selects whether even or odd parity is to be used for parity
addition and checking. The PM bit setting is only valid in asynchronous mode when bit PE is set
to 1, enabling parity bit addition and checking. The PM bit setting is invalid in synchronous mode,
and in asynchronous mode if parity bit addition and checking is disabled.
Bit 4: PM
0
1
Notes: 1. When even parity is selected, a parity bit is added in transmission so that the total
number of 1s in the transmit data plus the parity bit is an even number; in reception, a
check is carried out to confirm that the number of 1s in the receive data plus the parity
bit is an even number.
2. When odd parity is selected, a parity bit is added in transmission so that the total
number of 1s in the transmit data plus the parity bit is an odd number; in reception, a
check is carried out to confirm that the number of 1s in the receive data plus the parity
bit is an odd number.
Bit 3—Stop Bit Length (STOP): Bit 3 selects 1 bit or 2 bits as the stop bit length in
asynchronous mode. The STOP bit setting is only valid in asynchronous mode. When synchronous
mode is selected the STOP bit setting is invalid since stop bits are not added.
Bit 3: STOP
0
1
Notes: 1. In transmission, a single 1 bit (stop bit) is added at the end of a transmit character.
2. In transmission, two 1 bits (stop bits) are added at the end of a transmit character.
In reception, only the first of the received stop bits is checked, irrespective of the STOP bit setting.
If the second stop bit is 1 it is treated as a stop bit, but if 0, it is treated as the start bit of the next
transmit character.
Bit 2—Multiprocessor Mode (MP): Bit 2 enables or disables the multiprocessor communication
function. When the multiprocessor communication function is enabled, the parity settings in the
PE and PM bits are invalid. The MP bit setting is only valid in asynchronous mode. When
synchronous mode is selected the MP bit should be set to 0. For details on the multiprocessor
communication function, see 14.6.
Bit 2: MP
0
1
252
Description
1
Even parity*
2
Odd parity*
Description
1 stop bit
1
*
2 stop bits
2
*
Description
Multiprocessor communication function disabled
Multiprocessor communication function enabled
(Initial value)
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents