| Electronic Components Datasheet Search |
|
AN3298 Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3298 Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 27 page ![]() Function description AN3298 14/27 Doc ID 18098 Rev 1 3 Function description This section describes the most important STM8S DALI slave library functions for the user. 3.1 I/O pin driver layer functions The I/O pin driver layer implements hardware dependent functions (designed for use with STM8 devices and the DALI transceiver board). 3.1.1 stm8_interrupt_vector.c This file contains the interrupt vector table. The I/O pin driver layer occupies six interrupt vectors: EXTI_PORTx_IRQHandler (five vectors) The EXTI_PORTx_IRQHandler set of five vectors is for all GPIO pins (where x = A, B, C, D, and E). They: ● Detect DALI RX line changes ● Allow the user to select any pin as a DALI RX line (because all GPIO vectors are occupied). TIM4_UPD_OVF_IRQHandler This vector is for timer 4 overflow/update. It: ● Controls the reception and transmission timing ● Produces precise timer ticks for the DALI stack layer 3.1.2 stm8_it.c, stm8_it.h These files contain two interrupt service routines (ISR): @interrupt void EXTI_PORTx_IRQHandler (void) This ISR: ● Calls receiving routines if there is a voltage level change on the DALI RX pin ● Detects the start of the DALI packet. This ISR is inactive during DALI packet reception. It is activated after DALI packet reception. |
|
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 |