This section includes the DALI stack software, Figure 3-2 shows the DALI stack layer.
The following list provides a detailed explanation of the structure along with the functions implemented.
- dali_103
- dali_103_command (.h and
.c files)
- Contains the
declarations and definitions for the DALI Commands specified in
the standard IEC 62386-103: General Requirements for Control
Device.
- dali_103_variables.h
- defines the
structures, enumerations, and macros for control device
variables as given in the DALI 103 spec.
- dali_303
- dali_303_command (.h and
.c files)
- Contains the
declarations and definitions for DALI 303 Commands specified in
the standard IEC 62386-303: Particular Requirements – Input
Devices – Occupancy Sensor
- dali_303_variables.h
- defines the
structures, enumerations, and macros for Part 303 input device
variables as given in the DALI 303 spec.
- pir_interface (.h and .c
files)
- Contains
declarations and definitions for configuring the PIR sensor and
interpreting the digital output.
- dali_cd_comm (.h and .c files)
- Contains the declarations and definitions for DALI Software module initialization and command handling.
- dali_gpio_comm (.h and .c files)
- Contains the declarations and definitions for configuring the Timer for receiving and transmitting Manchester encoded frame through DALI RX and TX respectively.
- dali_main.c
- Contains the DALI Software stack main function loop.
- dali_timings.h
- defines macros for timing-related parameters as given in the spec.
- eeprom_emulation_type_a (.h and .c files)
- Existing design in MSPM0 SDK is integrated for storing certain DALI variables in flash.
- Type B design can also be used if the user needs to store small variable data.
- For additional information, see also the EEPROM emulation Type A Design application note.