Dali: Read Data: Return value

return value in default case was missing.

Signed-off-by: Ajay <ajay@moxiedevices.com>
Dali: Enumeration: Timer init

Dali timer in master is used for enumeration only. Moved initialization
to enumeration init.

Signed-off-by: Ajay <ajay@moxiedevices.com>
Dali: Enumeration: Moved out of Dali init

Dali enumeration should be called from host controller, if host want to
init then it will init by sending command from host.

Signed-off-by: Ajay <ajay@moxiedevices.com>
Dali: Enumerate: Addressing: Bug fix

Dali enumeration was assigning wrong address to slave. Corrected this.

Signed-off-by: Ajay <ajay@moxiedevices.com>
uart: changed arguments

-int UART1_send(uint8_t *data, uint8_t size);
-uint8_t UART1_ReadData( uint8_t *buff, int size);
+uint8_t UART1_send(uint8_t *data, uint8_t size);
+uint8_t UART1_ReadData( uint8_t *buff, uint8_t size);

Signed-off-by: Ajay <ajay@moxiedevices.com>
Host: commands: added include file for commands

Added file for host commands
Signed-off-by: Ajay <ajay@moxiedevices.com>
Host: communication support

These files support host communication protocol.

Signed-off-by: Ajay <ajay@moxiedevices.com>
Host: Timer: For timed events

These files will provided timer for timed events of host communication.
Signed-off-by: Ajay <ajay@moxiedevices.com>
Dali: Response to host after Enumeration

Host is waiting for Dali master to complete enumeration. Host need to
send ACk after communication.

Signed-off-by: Ajay <ajay@moxiedevices.com>
Host: tx/rx function registration

Host protocol files expect system to provide some method to communicate.
As per protocol send and receive functions should be registered to host.

Signed-off-by: Ajay <ajay@moxiedevices.com>
usermain: read host commands and act

In user main, host upstream function to read is called and command read
is send to analyze and act.

Signed-off-by: Ajay <ajay@moxiedevices.com>
project files

Signed-off-by: Ajay <ajay@moxiedevices.com>
removed unnecessary comments

Signed-off-by: Ajay <ajay@moxiedevices.com>