Datasheet

CHAPTER 16 MANCHESTER CODE GENERATOR
User’s Manual U18698EJ1V0UD
416
Figure 16-7. Format of MCG Status Register (MC0STR)
Address: FF47H After reset: 00H R
Symbol <7> 6 5 4 3 2 1 0
MC0STR MC0TSF 0 0 0 0 0 0 0
MC0TSF Data transmission status
0
Reset signal generation
MC0PWR = 0
If the next transfer data is not written to MC0TX when a transmission is completed
1 Transmission operation in progress
Caution This flag always indicates 1 during continuous transmission. Do not initialize a
transmission operation without confirming that this flag has been cleared.
16.4 Operation of Manchester Code Generator
The Manchester code generator has the three modes described below.
Operation stop mode
Manchester code generator mode
Bit sequential buffer mode
16.4.1 Operation stop mode
Transmissions are not performed in the operation stop mode. Therefore, the power consumption can be reduced.
In addition, the P32/TOH0/MCGO pin is used as an ordinary I/O port in this mode.
(1) Register description
MCG control register 0 (MC0CTL0) is used to set the operation stop mode.
To set the operation stop mode, clear bit 7 (MC0PWR) of MC0CTL0 to 0.
(a) MCG control register 0 (MC0CTL0)
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to 10H.
Address: FF4CH After reset: 10H R/W
Symbol <7> 6 5 <4> 3 2 <1> <0>
MC0CTL0 MC0PWR 0 0 MC0DIR 0 0 MC0OSL MC0OLV
MC0PWR Operation control
0 Operation stopped