Dali_Reg.c - ST STM32F1 Series User Manual

Dali slave interface
Hide thumbs Also See for STM32F1 Series:
Table of Contents

Advertisement

UM1728
void DALIP_Off(void),
void DALIP_On_And_Step_Up(void),
void DALIP_Step_Down_And_Off(void),
void DALIP_Recall_Max_Level(void),
void DALIP_Recall_Min_Level(void),
void DALIP_Up(void),
void DALIP_Down(void),
void DALIP_Step_Up(void),
void DALIP_Step_Down(void)
This set of functions
Implements the DALI commands for controlling light level
3.2.4

dali_reg.c

These files contain the DALI register management functions. The DALI registers can be
stored in RAM, EEPROM, or ROM memory (see the DALI specification definitions). The
functions of these files implement automatic memory selection depending on the register
index and register read and write routines.
void DALIR_Init(void)
This function:
Initializes the DALI register module
Clears all RAM registers
void DALIR_ResetRegs(void)
This function:
Sets all registers to the default state (according to the DALI specification)
u8 DALIR_ReadReg(idx),
void DALIR_WriteReg(idx, newval),
u8 DALIR_ReadStatusBit(bit),
void DALIR_WriteStatusBit(bit, val),
u8 DALIR_ReadEEPROMReg(idx),
void DALIR_WriteEEPROMReg(idx, val)
This set of functions:
Is used for register reading and writing
DocID025866 Rev 1
Function description
17/31
31

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F1 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents