initial commit
This commit is contained in:
38
hal/hal_floodlight/hal_interface_floodlight.c
Executable file
38
hal/hal_floodlight/hal_interface_floodlight.c
Executable file
@@ -0,0 +1,38 @@
|
||||
/*************************************************
|
||||
File name : hal_interface_nv.c
|
||||
Module : hal floodlight library interface typedefs
|
||||
Author :
|
||||
Version :
|
||||
Created on : 2020-10-20
|
||||
Description :
|
||||
Data structure and function definitions required by
|
||||
the floodlight interface
|
||||
|
||||
Modify History:
|
||||
1. Date: Author: Modification:
|
||||
2020-10-20 amir.liang create
|
||||
*************************************************/
|
||||
#include "t8423_floodlight.h"
|
||||
#include "hal_product_config.h"
|
||||
#include "hal_interface_floodlight.h"
|
||||
|
||||
#if defined(PRODUCT_FLOODLIGHT)
|
||||
static ST_HAL_FLOODLIGHT_INTERFACE gHalFloodlightInterface =
|
||||
{
|
||||
.pfnInit = HAL_FL_Init,
|
||||
.pfnDeinit = HAL_FL_Deinit,
|
||||
.pfnColdSet = HAL_FL_ColdSet,
|
||||
.pfnWarmSet = HAL_FL_WarmSet,
|
||||
.pfnSlightSet = HAL_FL_Slightet,
|
||||
};
|
||||
#endif
|
||||
|
||||
ST_HAL_FLOODLIGHT_INTERFACE *HAL_Floodlight_GetInterface(int32_t channel)
|
||||
{
|
||||
#if defined(PRODUCT_FLOODLIGHT)
|
||||
return &gHalFloodlightInterface;
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user