Datasheet

CHAPTER 16 MANCHESTER CODE GENERATOR
User’s Manual U18698EJ1V0UD
413
16.3 Registers Controlling Manchester Code Generator
The following six types of registers are used to control the Manchester code generator.
MCG control register 0 (MC0CTL0)
MCG control register 1 (MC0CTL1)
MCG control register 2 (MC0CTL2)
MCG status register (MC0STR)
Port mode register 3 (PM3)
Port register 3 (P3)
(1) MCG control register 0 (MC0CTL0)
This register is used to set the operation mode and to enable/disable the operation.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to 10H.
Figure 16-4. Format of MCG Control Register 0 (MC0CTL0)
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
1 Operation enabled
MC0DIR First bit specification
0 MSB
1 LSB
MC0OSL Data format
0 Manchester code
1 Bit sequential data
MC0OLV Output level when transmission suspended
0 Low level
1 High level
Caution Clear (0) the MC0PWR bit before rewriting the MC0DIR, MC0OSL, and MC0OLV bits (it is
possible to rewrite these bits by an 8-bit memory manipulation instruction at the same
time when the MC0PWR bit is set (1)).