Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM1632 Datasheet(PDF) 11 Page - STMicroelectronics

Part # UM1632
Description  STM8L DALI slave interface
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1632 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button UM1632 Datasheet HTML 7Page - STMicroelectronics UM1632 Datasheet HTML 8Page - STMicroelectronics UM1632 Datasheet HTML 9Page - STMicroelectronics UM1632 Datasheet HTML 10Page - STMicroelectronics UM1632 Datasheet HTML 11Page - STMicroelectronics UM1632 Datasheet HTML 12Page - STMicroelectronics UM1632 Datasheet HTML 13Page - STMicroelectronics UM1632 Datasheet HTML 14Page - STMicroelectronics UM1632 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 32 page
background image
DocID024513 Rev 1
11/32
UM1632
Function description
3.1.2
DALIslave.c
These files contain the reception and transmission routines for building the DALI packet
from received bits according to the DALI specification. They also contain the initialization
functions for the DALI I/O pin driver layer. The functions of these routines are given below in
bold.
bool get_DALIIN(),
bool get_DALIOUT(),
void set_DALIOUT(pin_value)
This set of functions:
•
Obtains/sets the logical level from/to the DALI pin (DALI Rx and DALI Tx)
•
Accepts the hardware implementation of the driver (its eventual inversion)
Table 3. Void init_DALI (port_out, pin_out, invert_out, port_in, pin_in, invert_in,
DataReceivedFunction, ErrorFunction, RTC_1ms_Function)
Function name
Init_DALI
Description
•
Initializes the DALI I/O pin driver layer
•
Defines the DALI RX and DALI TX pins and their inversion. This
depends on the physical connection to the DALI bus (i.e. the
converter between the DALI bus and the I/O pins).
•
Defines the callback functions:
–
if the complete DALI packet is received (address,
command/data)
–
if an error occurs on the DALI bus (loss of idle voltage)
–
if 1 ms callback timer ticks are generated for the DALI stack
layer
•
After this function is called, the I/O pin driver is able to receive DALI
packets and call upper layer callbacks. This function should be called
as the last initialization function (after DALI stack initialization).
Input Parameter
GPIO_TypeDef* port_out
U16 pin_out
U8 invert_out
GPIO_TypeDef* port_in
U16 pin_in
U8 invert_in
TDataReceivedCallback DataReceivedFunction
TErrorCallback ErrorFunction
TRTC_1ms_Callback RTC_1ms_Function
Output Parameter
None
Return
None



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 28 29 30 31 32


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