Electronic Components Datasheet Search
  English  ▼

X  

AN3298 Datasheet(PDF) 14 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) 14 Page - STMicroelectronics

Back Button 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 AN3298 Datasheet HTML 15Page - STMicroelectronics AN3298 Datasheet HTML 16Page - STMicroelectronics AN3298 Datasheet HTML 17Page - STMicroelectronics AN3298 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 27 page
background image
Function description
AN3298
14/27
Doc ID 18098 Rev 1
3
Function description
This section describes the most important STM8S DALI slave library functions for the user.
3.1
I/O pin driver layer functions
The I/O pin driver layer implements hardware dependent functions (designed for use with
STM8 devices and the DALI transceiver board).
3.1.1
stm8_interrupt_vector.c
This file contains the interrupt vector table. The I/O pin driver layer occupies six interrupt
vectors:
EXTI_PORTx_IRQHandler (five vectors)
The EXTI_PORTx_IRQHandler set of five vectors is for all GPIO pins (where x = A, B, C, D,
and E). They:
●
Detect DALI RX line changes
●
Allow the user to select any pin as a DALI RX line (because all GPIO vectors are
occupied).
TIM4_UPD_OVF_IRQHandler
This vector is for timer 4 overflow/update. It:
●
Controls the reception and transmission timing
●
Produces precise timer ticks for the DALI stack layer
3.1.2
stm8_it.c,
stm8_it.h
These files contain two interrupt service routines (ISR):
@interrupt void EXTI_PORTx_IRQHandler (void)
This ISR:
●
Calls receiving routines if there is a voltage level change on the DALI RX pin
●
Detects the start of the DALI packet. This ISR is inactive during DALI packet reception.
It is activated after DALI packet reception.



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