mc68hc908ld64 Freescale Semiconductor, Inc, mc68hc908ld64 Datasheet - Page 248

no-image

mc68hc908ld64

Manufacturer Part Number
mc68hc908ld64
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
DDC12AB Interface
16.7 Programming Considerations
Data Sheet
248
When the DDCDRR is read by the CPU, the receive buffer full flag is
cleared (RXBF = 0), and the next received data is loaded to the
DDCDRR. Each time when new data is loaded to the DDCDRR, the
RXIF interrupt flag is set, indicating that new data is available in
DDCDRR.
The sequence of events for slave receive and master receive are
illustrated in
When the DDC module detects an arbitration loss in master mode, it will
release both SDA and SCL lines immediately. But if there are no further
STOP conditions detected, the module will hang up. Therefore, it is
recommended to have time-out software to recover from such ill
condition. The software can start the time-out counter by looking at the
BB (Bus Busy) flag in the DDCMCR and reset the counter on the
completion of one byte transmission. If a time-out occur, software can
clear the DEN bit (disable DDC module) to release the bus, and hence
clearing the BB flag. This is the only way to clear the BB flag by software
if the module hangs up due to a no STOP condition received. The DDC
can resume operation again by setting the DEN bit.
Figure
DDC12AB Interface
16-9.
MC68HC908LD64
Freescale Semiconductor
Rev. 3.0

Related parts for mc68hc908ld64