| Electronic Components Datasheet Search |
|
AN3298 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3298 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 27 page ![]() Structure of final user application AN3298 10/27 Doc ID 18098 Rev 1 2 Structure of final user application The final user application uses the DALI slave library and so, consists of the following three layers: ● Main user application ● DALI stack layer ● I/O pin driver layer 2.1 User application The structure of the user application is shown in Figure 4. It is comprised completely of STVD project files. The application code is in one source file, "main.c", in which the whole user ballast control is implemented. This code calls the DALI slave library functions. The user application example included in the DALI slave library package is designed to work with the “STM8S discovery kit” and “DALI transceiver board”. The STM8S discovery kit is a small printed circuit board (PCB) with an integrated STM8S105C6T6 device which demonstrates STM8S capabilities. The DALI transceiver board is connected to the STM8S discovery kit as a physical layer extension. It provides voltage level conversion and optical isolation between the DALI bus and the STM8S discovery kit (according to the DALI specification requirements). Figure 4. Structure of user application The main task of the user application is to initialize the DALI stack and to implement the light intensity control function (callback function). This function is ballast dependent. The user application also periodically controls some event flags. If the DALI slave library sets an event flag and it indicates a pending event, the user application must call the appropriate service routines (from the DALI slave library) to execute the necessary commands. |
|
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 |