Datasheet

CHAPTER 16 MANCHESTER CODE GENERATOR
User’s Manual U18698EJ1V0UD
412
(2) MCG transmit bit count specification register (MC0BIT)
This register is used to set the number of transmit bits.
Set the transmit bit count to this register before setting the transmit data to MC0TX.
In continuous transmission, the number of transmit bits to be transmitted next needs to be written after the
occurrence of a transmission start interrupt (INTMCG). However, if the next transmit count is the same number
as the previous transmit count, this register does not need to be written.
This register can be set by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to 07H.
Figure 16-3. Format of MCG Transmit Bit Count Specification Register (MC0BIT)
Address: FF4BH After reset: 07H R/W
Symbol 7 6 5 4 3 <2> <1> <0>
MC0BIT 0 0 0 0 0 MC0BIT2 MC0BIT1 MC0BIT0
MC0BIT2 MC0BIT1 MC0BIT0 Transmit bit count setting
0 0 0 1 bit
0 0 1 2 bits
0 1 0 3 bits
0 1 1 4 bits
1 0 0 5 bits
1 0 1 6 bits
1 1 0 7 bits
1 1 1 8 bits
Remark When the number of transmit bits is set as 7 bits or smaller, the lower bits are always
transmitted regardless of MSB/LSB settings as the transmission start bit.
ex. When the number of transmit bits is set as 3 bits, and D7 to D0 are written to MCG transmit
buffer register (MC0TX)
7 6 5 4 3 2 1 0
MC0TX D7 D6 D5 D4 D3 D2 D1 D0
Start bit: LSB
D0
D1
D2
Transmission order
Start bit: MSB
D2
D1
D0
Transmission order
Transmit data