23 #if defined( BSP_STK_USE_EBI )
27 #if defined( BSP_STK )
66 #if defined( BSP_STK_USE_EBI )
159 #if defined( BSP_STK_USE_EBI )
175 int BSP_Init( uint32_t flags )
209 pcurrent = (
float *)pkt.
data;
241 pvoltage = (
float *)pkt.
data;
Clock management unit (CMU) API.
Board support package API definitions.
float BSP_CurrentGet(void)
Request AEM (Advanced Energy Monitoring) current from board controller.
BCP Packet Structure - Board controller communication protocol version 2.
#define BSP_BCP_VOLTAGE_REQ
#define BSP_BCP_CURRENT_REQ
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
#define BSP_BCP_CURRENT_REPLY
External Bus Iterface (EBI) peripheral API.
void GPIO_PinModeSet(GPIO_Port_TypeDef port, unsigned int pin, GPIO_Mode_TypeDef mode, unsigned int out)
Set the mode for a GPIO pin.
#define BSP_STATUS_NOT_IMPLEMENTED
General Purpose IO (GPIO) peripheral API.
int BSP_BccInit(void)
Initialize board controller communication support (BCC) functionality.
void EBI_Init(const EBI_Init_TypeDef *ebiInit)
Configure and enable External Bus Interface.
void CMU_ClockEnable(CMU_Clock_TypeDef clock, bool enable)
Enable/disable a clock.
uint8_t data[BSP_BCP_PACKET_SIZE]
#define BSP_BCP_VOLTAGE_REPLY
int BSP_BccPacketSend(BCP_Packet *pkt)
Send a packet to the board controller.
float BSP_VoltageGet(void)
Request AEM (Advanced Energy Monitoring) voltage from board controller.
int BSP_EbiDeInit(void)
Deinitialize the EBI interface for accessing the onboard nandflash.
int BSP_EbiInit(void)
Initialize the EBI interface for accessing the onboard nandflash.
bool BSP_BccPacketReceive(BCP_Packet *pkt)
Get a packet from the board controller.
int BSP_BccDeInit(void)
Deinitialize board controller communication support (BCC) functionality. Reverse actions performed by...
#define EBI_NANDCTRL_BANKSEL_BANK0