5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
wiced_power_logger.h File Reference

Macros

#define WICED_POWER_LOGGER(proc_id, event_id, event_state)
 
#define WICED_POWER_LOGGER_DATA(proc_id, event_id, event_state, data)
 
#define WPL_START()
 

Enumerations

enum  cpl_event_bt_power_state_t {
  EVENT_DESC_BT_POWER_OFF , EVENT_DESC_BT_POWER_IDLE , EVENT_DESC_BT_POWER_TX , EVENT_DESC_BT_POWER_RX ,
  EVENT_DESC_BT_POWER_TX_PDS , EVENT_DESC_BT_POWER_RX_PDS , EVENT_DESC_BT_POWER_DEEP_SLEEP , EVENT_DESC_BT_MAX
}
 Possible State Descriptors for BT Processor + BT Event combination. More...
 
enum  cpl_event_i2c_state_t { EVENT_DESC_I2C_IDLE , EVENT_DESC_I2C_TX , EVENT_DESC_I2C_RX , EVENT_DESC_I2C_MAX }
 Possible State Descriptors for MCU Processor + I2C Event combination. More...
 
enum  cpl_event_id_t {
  EVENT_ID_POWERSTATE , EVENT_ID_FLASH , EVENT_ID_UART , EVENT_ID_WIFI_DATA ,
  EVENT_ID_I2S , EVENT_ID_PROFILING , EVENT_ID_BT_DATA , EVENT_ID_I2C ,
  EVENT_ID_SPI_SFLASH , EVENT_ID_SDIO , EVENT_ID_SPI_1 , EVENT_ID_MAX
}
 Event ID: Supported Power Events for Processors. More...
 
enum  cpl_event_power_state_t {
  EVENT_DESC_POWER_ACTIVE1 , EVENT_DESC_POWER_ACTIVE2 , EVENT_DESC_POWER_SLEEP , EVENT_DESC_POWER_DEEPSLEEP ,
  EVENT_DESC_POWER_OFF , EVENT_DESC_POWER_HIBERNATE , EVENT_DESC_POWER_PDS , EVENT_DESC_MAX
}
 Possible State Descriptors for MCU Processor + Powerstate Event combination. More...
 
enum  cpl_event_profiling_state_t { EVENT_DESC_FUNC_IDLE , EVENT_DESC_FUNC_TIME }
 Possible State Descriptors for MCU Processor + Function Profiling combination. More...
 
enum  cpl_event_sdio_state_t { EVENT_DESC_SDIO_IDLE , EVENT_DESC_SDIO_READ , EVENT_DESC_SDIO_WRITE , EVENT_DESC_SDIO_MAX }
 Possible State Descriptors for MCU Processor + SDIO Event combination. More...
 
enum  cpl_event_spi_sflash_state_t {
  EVENT_DESC_SPI_SFLASH_IDLE , EVENT_DESC_SPI_SFLASH_READ , EVENT_DESC_SPI_SFLASH_WRITE , EVENT_DESC_SPI_SFLASH_ERASE ,
  EVENT_DESC_SPI_SFLASH_MAX
}
 Possible State Descriptors for MCU Processor + SPI_SFLASH Event combination. More...
 
enum  cpl_event_spi_state_t {
  EVENT_DESC_SPI_OFF , EVENT_DESC_SPI_IDLE , EVENT_DESC_SPI_READ , EVENT_DESC_SPI_WRITE ,
  EVENT_DESC_SPI_MAX
}
 Possible State Descriptors for MCU Processor + SPI Event combination. More...
 
enum  cpl_event_uart_state_t { EVENT_DESC_UART_IDLE , EVENT_DESC_UART_TX , EVENT_DESC_UART_RX , EVENT_DESC_UART_MAX }
 Possible State Descriptors for MCU Processor + UART Event combination. More...
 
enum  cpl_event_wifi_rate_type_t { EVENT_DESC_WIFI_MCS_RATE = 1 , EVENT_DESC_WIFI_VHT_RATE }
 Possible State Descriptor Values for WiFi Processor + WiFi Data Event + WiFi Rate Type combination. More...
 
enum  cpl_event_wifi_state_t {
  EVENT_DESC_WIFI_IDLE , EVENT_DESC_WIFI_BAND , EVENT_DESC_WIFI_BW , EVENT_DESC_WIFI_PMMODE ,
  EVENT_DESC_WIFI_RATE_TYPE , EVENT_DESC_WIFI_UP_STATUS , EVENT_DESC_WIFI_TXRX_FRAG , EVENT_DESC_WIFI_SCAN_TIME ,
  EVENT_DESC_WIFI_JOIN_TIME , EVENT_DESC_WIFI_RATE0 , EVENT_DESC_WIFI_RATE1 , EVENT_DESC_WIFI_RATE2 ,
  EVENT_DESC_WIFI_RATE3 , EVENT_DESC_WIFI_RATE4 , EVENT_DESC_WIFI_RATE5 , EVENT_DESC_WIFI_RATE6 ,
  EVENT_DESC_WIFI_RATE7 , EVENT_DESC_WIFI_RATE8 , EVENT_DESC_WIFI_RATE9 , EVENT_DESC_WIFI_MAX
}
 Possible State Descriptors for WiFi Processor + WiFi Data Event combination. More...
 
enum  cpl_procid_t { EVENT_PROC_ID_MCU , EVENT_PROC_ID_WIFI , EVENT_PROC_ID_BT , EVENT_PROC_ID_MAX }
 Processors (power consuming component) available on the target platform is identified by this ID. More...
 

Detailed Description

Cypress Power Estimator (CyPE) Tool: This header exposes APIs to start CyPE and to tap the power events. These APIs are enabled only when CyPE is enabled.