| Electronic Components Datasheet Search |
|
UM1632 Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1632 Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 32 page ![]() Function description UM1632 14/32 DocID024513 Rev 1 u8 DALI_CheckAndExecuteReceivedCommand(void) This function should be cyclically called from the main user application in the main program loop. It: • Checks for a pending received DALI packet and, if present, executes the DALI command in the packet. • Returns the execution status: – 0 = no pending command – 1 = pending DALI command executed – 2 = DALI bus error present and processed u8 DALI_CheckAndExecuteTimer(void) This function should be cyclically called from the main user application in the main program loop at least every 1 ms. It: • Checks for a pending timer flag and, if present, executes the given timer callbacks (fading functions, timeouts, etc.). • Returns the remaining number of pending 1 ms timer cycles for a given timer task (e.g., number of timer cycles to finish light dimming cycle). void DALI_halt(void) This function allows activation of the microcontroller Low power state (Halt mode without timer interrupt). Before calling this function, the user must check that there are no pending timer cycles and DALI packets. void DALI_Set_Lamp_Failure(failure) This function: • Sets or resets the failure state of the lighting element (e.g., a damaged bulb). Table 9. Void DALI_InterruptConfig(void) Function name DALI_Init Description This function: • Configures the used IRQ Channels and sets their priority. Input Parameter None Output Parameter None Return None |
|
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 |