| Electronic Components Datasheet Search |
|
CS48L32 Datasheet(PDF) 86 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS48L32 Datasheet(HTML) 86 Page - Cirrus Logic |
|
86 / 192 page ![]() 86 Cirrus Logic DS1219F4 CS48L32 4.5 DSP Peripheral Control 4.5.2 Alarm Generator The CS48L32 alarm-generator circuit is associated with the general-purpose timers. It can be used to generate interrupt events according to the count value of the timer. The alarm interrupts can be either one-off events, or can be configured for cyclic (repeated) triggers. One alarm generator is provided, supporting up to four outputs. 4.5.2.1 Alarm Control An alarm is enabled by writing 1 to the ALM1_CHx_START bit (where x identifies the channel number, 1–4). An alarm is disabled by writing 1 to ALM1_CHx_STOP. The alarm status is indicated using ALM1_CHx_STS. Note that this indicates the status of the alarm-generator function only—it does not provide indication of an alarm event. The timer (and time-stamp source) associated with each alarm generator is selected using ALM1_TIMER_SRC. Note that all ALM1 channels must be stopped (ALM1_CHx_STS = 0) when updating the timer source. See Section 4.5.3 for details of the general-purpose timers. The operating mode of each alarm channel is configured using ALM1_CHx_TRIG_MODE. In each case, the alarm events are controlled by the alarm-trigger value, ALM1_CHx_TRIG_VAL. • In Absolute Mode, the alarm output is triggered when the timer count value is equal to the alarm trigger value. • In Relative Mode, the alarm output is triggered when the timer count value has incremented by a number equal to the alarm trigger value—this mode counts the number of clock cycles after the ALM1_CHx_START bit is written. • In Combination Mode, the alarm output is initially triggered as described for the Absolute Mode; the alarm then operates as described for the Relative Mode. When the alarm output is triggered, an output signal is asserted for the respective alarm. The alarm output can be used to trigger an interrupt event or to generate an external signal via a GPIO pin, as described in Section 4.5.2.2. The ALM1_CHx_CONT bit configures the alarm channel for once-only event or for continuous/repeated operation. If an alarm channel is enabled and an update is written to ALM1_CHx_TRIG_VAL or ALM1_CHx_PULSE_DUR, the new value is loaded into the respective control register, but does not reconfigure the alarm immediately. If the ALM1_CHx_UPD bit is set, the alarm-trigger and pulse-duration values are updated when the alarm is next triggered. The alarm-trigger and pulse-duration settings can also be updated by writing 1 to ALM1_CHx_START. Note that, if an alarm channel is enabled, the general-purpose timer associated with that alarm must be configured for continuous, count-up operation. The applicable TIMERn_MAX_COUNT value must be greater than the ALM1_CHx_ TRIG_VAL setting. 4.5.2.2 Interrupts and GPIO Output The alarm generator provides input to the interrupt control circuit and can be used to trigger an interrupt event when the alarm-trigger conditions are met. An interrupt event is triggered on the rising edge of the alarm output signal. See Section 4.9 for details of the CS48L32 interrupt controller. 0x114 GPIO7 0x2EE DSP1 profiler Out 1 done 0x359 DSP1 LMS 2 done 0x116 GPIO8 0x2F5 DSP1 watchdog expire 0x35A DSP1 LMS 3 done 0x160 Event Log 1 full 0x2F7 DSP1 memory protection unit error 0x35B DSP1 LMS 4 done 0x168 Event Log 1 watermark 0x2F8 DSP1 trace buffer stack error 0x36F DSP1 GP Interrupt 0 0x1E0 SPI2 done 0x2FA DSP1 FIR error 0x370 DSP1 GP Interrupt 1 0x1E1 SPI2 overclocked 0x2FB DSP1 FIR done 0x371 DSP1 GP Interrupt 2 0x1E2 SPI2 block 0x2FC DSP1 FIR Filter 0 done 0x372 DSP1 GP Interrupt 3 0x1E3 SPI2 stalling Table 4-30. Event Logger Input Sources (Cont.) ID Description ID Description ID Description |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |