Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3298 Datasheet(PDF) 10 Page - STMicroelectronics

Part # AN3298
Description  STM8S DALI slave library
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3298 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN3298 Datasheet HTML 6Page - STMicroelectronics AN3298 Datasheet HTML 7Page - STMicroelectronics AN3298 Datasheet HTML 8Page - STMicroelectronics AN3298 Datasheet HTML 9Page - STMicroelectronics AN3298 Datasheet HTML 10Page - STMicroelectronics AN3298 Datasheet HTML 11Page - STMicroelectronics AN3298 Datasheet HTML 12Page - STMicroelectronics AN3298 Datasheet HTML 13Page - STMicroelectronics AN3298 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 27 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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