Due to the code size limitation of the MCU, an Atmel Studio package is not created.
These folders contain the application files for the DALI stack.
DALI bits are decoded and encoded here. EXTINT (External Interrupt) peripheral is used for decoding.
When power-down is detected, DALI slave will shut down PWM and LED to save power before Reset. The BOD interrupt deals with this detection.
When the update flag rises for persistent memory, the EEPROM will update its corresponding contents. A backup page is utilized to avoid incomplete data copy during the system power-down. When the system powers on, the variables will be loaded from EEPROM to SRAM.
System timers are provided here. They are used for DALI bit, frame, and fade timing, PWM and random address seeds.
Provides the DALI frame process files.
Provides the DALI command implementation files.
Hardware abstraction layer, including a complete set of APIs for using hardware resources by DALI stack that is convenient for rapid design-in and smooth integration with varied peripherals.