Functional Description
MPC5200B Users Guide, Rev. 1
Freescale Semiconductor 20-49
time passes between the exit from loopback modes and enabling the BDLC module and the enabling of interrupts. It is a good
practice to always clear any source of interrupts before enabling interrupts on any MCU subsystem.
If any interrupts are pending (BDLC State Vector Register not %00000000), then each interrupt source should be dealt with
accordingly. Once all of the interrupt sources have been dealt with, the BDLC State Vector Register should read %00000000, and
the user is then free to enable BDLC interrupts.
Step 8- Enable BDLC Interrupts
The last step in initializing the BDLC module is to enable interrupts to the CPU, if so desired. This is done by simply setting the IE
bit in the BDLC Control Register 1. Following this, the BDLC module is ready for operating in interrupt mode. If the user chooses
not to enable interrupts, the BDLC State Vector Register must be polled periodically to ensure that state changes in the BDLC
module are detected and dealt with appropriately.