Datasheet
CHAPTER 16 MANCHESTER CODE GENERATOR
User’s Manual U18698EJ1V0UD
417
16.4.2 Manchester code generator mode
This mode is used to transmit data in Manchester code format using the MCGO pin.
(1) Register description
MCG control register 0 (MC0CTL0), MCG control register 1 (MC0CTL1), and MCG control register 2 (MC0CTL2)
are used to set the Manchester code generator mode.
(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
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)).