English
Language : 

MC68HC05E5 Datasheet, PDF (86/140 Pages) Freescale Semiconductor, Inc – General Release Specification
Freescale Semiconductor, Inc.
Motorola Bus (M Bus) Interface
11.7 M-Bus Pin Configuration
When the M-bus interface is enabled with the MEN bit and the MMUX bit
in the M-bus control register (MCR), the port B data direction register bits
6 and 7 relinquish control to the M-bus control register bits. Enabling the
M-bus does not alter the state of the port B DDR bits.
11.8 Programming Considerations
Programming considerations are discussed in the following subsections.
11.8.1 Initialization
Initialization is accomplished using the following steps:
1. Update frequency divider register (MFDR) to select an SCL
frequency.
2. Update M-bus address register (MADR) to define its own slave
address.
3. Set MEN bit of the M-bus control register (MCR) to enable the
M-bus interface system and set the MMUX bit to allow M-bus
control of the PB7 and PB6 pins.
4. Modify the M-bus control register (MCR) bits to select
master/slave mode, transmit/receive mode, interrupt enable, or
not.
General Release Specification
Motorola Bus (M Bus) Interface
For More Information On This Product,
Go to: www.freescale.com
MC68HC05E5 — Rev. 1.0