EasyManua.ls Logo

NXP Semiconductors MPC5606S - Interrupts

NXP Semiconductors MPC5606S
1344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Sound Generation Logic (SGL)
MPC5606S Microcontroller Reference Manual, Rev. 7
1118 Freescale Semiconductor
In other cases, where SOUND_DURATION counter has no role to play, the sound generation stops when
the SOUND_CTRL[0:2] bits are changed asynchronously by the software.
34.4.1 Interrupts
SGL generates the interrupt signal ipi_int_sgl. The generation of this interrupt is enabled if the
MODE_SEL[SDCIE] bit is 1. If this bit is 0, then the interrupt is disabled.
The interrupt is generated whenever the SOUND_DURATION counter reaches 0 in cases where sound is
being generated for a predetermined duration of time (i.e., SOUND_DURATION register value is
controlling sound duration).
The SGL_STATUS[SDCIF] bit indicates the generation of interrupt. It is set whenever an interrupt is
generated irrespective of the value of the SDCIE bit. It can be cleared by writing 1 to it.
The interrupt signal ipi_int_sgl is asserted if the SDCIF flag is set and the SDCIE bit is set.

Table of Contents

Related product manuals