| 数据搜索系统,热门电子元器件搜索 |
|
UM1632 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1632 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 32 page ![]() DocID024513 Rev 1 13/32 UM1632 Function description void check_interface_failure(void) This function: • Checks the presence of the DALI bus idle voltage (500 ms disconnection from the DALI bus) • Calls error callback function if an error occurs u8 get_timer_count(void) This function: • Returns the current systick timer content • Is for general purpose use; for example, random number generation u8 get_flag(void) This function: • Returns the current DALI I/O driver state (receiving/transmitting) 3.2 DALI stack layer functions The DALI stack layer implements all DALI commands processed on the logical level according to the DALI specification. 3.2.1 dali.c These main files contain the most commonly used functions called from the user application. Functions include initialization of the entire DALI slave library, DALI slave library event flag signaling, command execution calls and reporting of user hardware error. Table 8. Void DALI_Init(LightControlFunction) Function name DALI_Init Description This function: • Initializes the entire DALI slave library (both I/O pin driver layer and DALI stack layer. It is called from the user application as the main initialization function. • Initializes all necessary modules of the DALI slave library • Starts execution of receiving commands from the DALI bus, timing management, callback calls and setting of event flags. Input Parameter LightControlFunction Output Parameter None Return None |
|
链接网址 |
| 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 |