FreeCalypso > hg > fc-tourmaline
diff src/cs/drivers/drv_app/pwr/pwr_messages_i.h @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:23:26 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cs/drivers/drv_app/pwr/pwr_messages_i.h Fri Oct 16 06:23:26 2020 +0000 @@ -0,0 +1,32 @@ +/******************************************************************************* + * + * pwr_messages_i.h + * + * Purpose: Contains internal definitions used by PWR SWE. + * Author Candice Bazanegue (c-brille@ti.com) + * + * + * (C) Texas Instruments 2001 + * + ******************************************************************************/ + +#ifndef __PWR_MESSAGES_I_H__ +#define __PWR_MESSAGES_I_H__ + +#include "rv/rv_general.h" +#include "pwr/pwr_api.h" +#include "spi/spi_api.h" + + + +/* Events that can be sent by the power SWE API to the SPI task */ +#define PWR_SPI_INFO_BATTERY_EVT (1) + + + +/* Prototypes */ + +/* Functions used to send messages to the SPI task */ +T_RV_RET pwr_spi_battery_info(CALLBACK_FUNC CallBack); + +#endif /* __PWR_MESSAGES_I_H__ */