| 전자부품 데이터시트 검색엔진 |
|
UM1632 데이터시트(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1632 데이터시트(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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |