MTB CAT5 Peripheral driver library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

General Description

Functions

void btss_system_forceSystemReset (void)
 Function btss_system_forceSystemReset. More...
 
BOOL32 btss_system_sleepInit (BTSS_SYSTEM_PRE_SLEEP_CB_t preSleepCb, BTSS_SYSTEM_POST_SLEEP_CB_t postSleepCb)
 Function btss_system_sleepInit. More...
 
BOOL32 btss_system_sleepEnable (BTSS_SYSTEM_SLEEP_PARAMS_t *params)
 Function btss_system_sleepInit. More...
 
BOOL32 btss_system_sleepAllowMode (BTSS_SYSTEM_PMU_SLEEP_MODE_t sleepMode)
 Function btss_system_sleepAllowMode. More...
 
BOOL32 btss_system_sleepEnableWakeSource (BTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t wakeSource, BTSS_SYSTEM_SLEEP_ACTIVE_CONFIG_t activeState)
 Function btss_system_sleepEnableWakeSource. More...
 
BOOL32 btss_system_sleepDisableWakeSource (BTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t wakeSource)
 Function btss_system_sleepDisableWakeSource. More...
 
BOOL32 ctss_system_sleepEnableWakeSource (CTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t wakeSource)
 Function ctss_system_sleepEnableWakeSource. More...
 
BOOL32 ctss_system_sleepDisableWakeSource (CTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t wakeSource)
 Function ctss_system_sleepDisableWakeSource. More...
 
BOOL32 wlss_system_sleepEnableWakeSource (WLSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t wakeSource)
 Function wlss_system_sleepEnableWakeSource. More...
 
BOOL32 wlss_system_sleepDisableWakeSource (WLSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t wakeSource)
 Function wlss_system_sleepDisableWakeSource. More...
 
UINT32 btss_system_disableSleepAndPause (void)
 Function btss_system_disableSleepAndPause. More...
 
UINT32 btss_system_enableSleepAndPause (void)
 Function btss_system_enableSleepAndPause. More...
 
UINT32 btss_system_getSleepAndPauseDisabledCount (void)
 Function btss_system_getSleepAndPauseDisabledCount. More...
 
BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t btss_smif_flash_isPowerDownCmdAllowed (void)
 Function btss_smif_flash_isPowerDownCmdAllowed. More...
 
BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t btss_smif_flash_allowPowerDownCmd (BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t allowed)
 Function btss_smif_flash_allowPowerDownCmd. More...
 
BOOL32 btss_smif_flash_deepPowerDown (void)
 Function btss_smif_flash_deepPowerDown. More...
 
BOOL32 btss_smif_flash_releasePowerDown (void)
 Function btss_smif_flash_releasePowerDown. More...
 
void btss_system_overrideBtSleepInhibition (BOOL32 sleepAllowed)
 Function btss_system_overrideBtSleepInhibition(BOOL32 sleepAllowed) More...
 
BOOL32 btss_system_isBtSleepAllowed (void)
 Function btss_system_isBtSleepAllowed(void) More...
 

Function Documentation

void btss_system_forceSystemReset ( void  )

Function btss_system_forceSystemReset.

Forces system reset

Returns
none
BOOL32 btss_system_sleepInit ( BTSS_SYSTEM_PRE_SLEEP_CB_t  preSleepCb,
BTSS_SYSTEM_POST_SLEEP_CB_t  postSleepCb 
)

Function btss_system_sleepInit.

Initializes sleep feature with Application callbacks.

Parameters
[in]preSleepCb: Callback before sleep entry. Returns allowed sleep mode.
[in]postSleepCb: Callback after wake up from sleep.
Returns
TRUE/FALSE as Status
BOOL32 btss_system_sleepEnable ( BTSS_SYSTEM_SLEEP_PARAMS_t params)

Function btss_system_sleepInit.

Enables sleep feature.

Parameters
[in]params: Sleep configuration parameters.
Returns
TRUE/FALSE as Status
BOOL32 btss_system_sleepAllowMode ( BTSS_SYSTEM_PMU_SLEEP_MODE_t  sleepMode)

Function btss_system_sleepAllowMode.

Allows application to set the maximum sleep allowed to enter

Parameters
[in]sleepMode: Maximum allowed sleep mode.
Returns
TRUE/FALSE as Status
BOOL32 btss_system_sleepEnableWakeSource ( BTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t  wakeSource,
BTSS_SYSTEM_SLEEP_ACTIVE_CONFIG_t  activeState 
)

Function btss_system_sleepEnableWakeSource.

Enables wake source for sleep.

Parameters
[in]wakeSource: Wake source
[in]activeState: Level to trigger wake signal (High/Low)
Returns
TRUE/FALSE as Status
BOOL32 btss_system_sleepDisableWakeSource ( BTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t  wakeSource)

Function btss_system_sleepDisableWakeSource.

Disables wake source for sleep.

Parameters
[in]wakeSource: Wake source
Returns
TRUE/FALSE as Status
BOOL32 ctss_system_sleepEnableWakeSource ( CTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t  wakeSource)

Function ctss_system_sleepEnableWakeSource.

Enables wake source for sleep.

Parameters
[in]wakeSource: Wake source
Returns
TRUE/FALSE as Status
BOOL32 ctss_system_sleepDisableWakeSource ( CTSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t  wakeSource)

Function ctss_system_sleepDisableWakeSource.

Disables wake source for sleep.

Parameters
[in]wakeSource: Wake source
Returns
TRUE/FALSE as Status
BOOL32 wlss_system_sleepEnableWakeSource ( WLSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t  wakeSource)

Function wlss_system_sleepEnableWakeSource.

Enables wake source for sleep.

Parameters
[in]wakeSource: Wake source
Returns
TRUE/FALSE as Status
BOOL32 wlss_system_sleepDisableWakeSource ( WLSS_SYSTEM_SLEEP_PMU_WAKE_SRC_t  wakeSource)

Function wlss_system_sleepDisableWakeSource.

Disables wake source for sleep.

Parameters
[in]wakeSource: Wake source
Returns
TRUE/FALSE as Status
UINT32 btss_system_disableSleepAndPause ( void  )

Function btss_system_disableSleepAndPause.

Disables LPM sleep and ARM pause modes

Parameters
[in]none
Returns
disable request count : UINT32
UINT32 btss_system_enableSleepAndPause ( void  )

Function btss_system_enableSleepAndPause.

Enables LPM sleep and ARM pause modes

Parameters
[in]none
Returns
disable request count : UINT32
UINT32 btss_system_getSleepAndPauseDisabledCount ( void  )

Function btss_system_getSleepAndPauseDisabledCount.

Returns the pause disabled count, could be useful for adding diagnostics.

Parameters
[in]none
Returns
disable request count : UINT32
BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t btss_smif_flash_isPowerDownCmdAllowed ( void  )

Function btss_smif_flash_isPowerDownCmdAllowed.

Returns TRUE if the deep power down command to flash is allowed.

Parameters
[in]none
Returns
BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t
BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t btss_smif_flash_allowPowerDownCmd ( BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t  allowed)

Function btss_smif_flash_allowPowerDownCmd.

mask/unmasks the power down cmd as per request, returns TRUE if the deep power down command to flash is allowed.

Parameters
[in]BTSS_SYSTEM_FLASH_POWER_DOWN_CMD_t
Returns
TRUE/FALSE : BOOL32
BOOL32 btss_smif_flash_deepPowerDown ( void  )

Function btss_smif_flash_deepPowerDown.

Returns TRUE if the deep power down command to flash is acknowledged.

Parameters
[in]none
Returns
TRUE/FALSE : BOOL32
BOOL32 btss_smif_flash_releasePowerDown ( void  )

Function btss_smif_flash_releasePowerDown.

Returns TRUE if the release power down command to flash is acknowledged.

Parameters
[in]none
Returns
TRUE/FALSE : BOOL32
void btss_system_overrideBtSleepInhibition ( BOOL32  sleepAllowed)

Function btss_system_overrideBtSleepInhibition(BOOL32 sleepAllowed)

BT sleep is inhibited with iLPO sources, this function can override the inhibition

Parameters
[in]sleepAllowed: BOOL32
Returns
none
BOOL32 btss_system_isBtSleepAllowed ( void  )

Function btss_system_isBtSleepAllowed(void)

Returns TRUE if the BT sleep is allowed

Parameters
[in]none
Returns
TRUE/FALSE : BOOL32