| Electronic Components Datasheet Search |
|
AN3298 Datasheet(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3298 Datasheet(HTML) 22 Page - STMicroelectronics |
|
22 / 27 page ![]() Function description AN3298 22/27 Doc ID 18098 Rev 1 void Lite_timer_Interrupt(void) This function is the main timer function servicing all timers. It: ● Is a callback function that receives 1 ms timer ticks from the DALI I/O pin driver layer ● Runs in interrupt ● Updates the timer event flag used for updating the virtual timers (1 ms each) u8 Process_Lite_timer_IT(void) This function is called cyclically from the user main program loop in 1 ms intervals when the timer event flag is signalled. It: ● Services timer events (if necessary) ● Calls callbacks or updates virtual timer values 3.2.7 dali_config.c, dali_config.h These files contain the DALI stack module configurations. The user can change them according to his needs, the final ballast hardware/software implementation, the light element used, the type of light control, the STM8S pinout, and the user/device description information. The most important variables and definitions in these files are given below in bold. const u16 DALIP_ArcTable[] This variable is the logarithmic table for light control. It: ● Implements the logarithmic table according to the DALI specification ● Converts 8-bit linear values to 16-bit logarithmic output for direct light power control (see the DALI specification). const u32 DALIP_FadeTimeTable[] This variable: ● Implements the fade time table according to the DALI specification const u16 DALIP_FadeRateTable[] This variable: ● Implements the fade rate table according to the DALI specification const u8 DaliRegDefaults[] This variable: ● Implements the default DALI register content according to the DALI specification #define USE_ARC_TABLE This definition: ● Enables the logarithmic table to be used instead of direct light control |
|
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 |