MTB CAT1 Peripheral driver library

General Description

Functions

__STATIC_INLINE void Cy_SysAnalog_TimerEnable (PASS_Type *base)
 Enable the analog subsystem timer in configured by Cy_SysAnalog_DeepSleepInit mode. More...
 
__STATIC_INLINE void Cy_SysAnalog_TimerDisable (PASS_Type *base)
 Disable the analog subsystem timer. More...
 
__STATIC_INLINE void Cy_SysAnalog_TimerSetPeriod (PASS_Type *base, uint32_t periodVal)
 Sets the analog subsystem timer period. More...
 
__STATIC_INLINE uint32_t Cy_SysAnalog_TimerGetPeriod (const PASS_Type *base)
 Returns the analog subsystem timer period. More...
 

Function Documentation

◆ Cy_SysAnalog_TimerEnable()

__STATIC_INLINE void Cy_SysAnalog_TimerEnable ( PASS_Type *  base)

Enable the analog subsystem timer in configured by Cy_SysAnalog_DeepSleepInit mode.

Parameters
basePointer to the PASS register structure.
Returns
None
Function Usage
/* Scenario: Enable the Timer for Deep Sleep operation. */
/* Scenario: The Timer is no longer needed. */

◆ Cy_SysAnalog_TimerDisable()

__STATIC_INLINE void Cy_SysAnalog_TimerDisable ( PASS_Type *  base)

Disable the analog subsystem timer.

Parameters
basePointer to the PASS register structure.
Returns
None
Function Usage
/* Scenario: Enable the Timer for Deep Sleep operation. */
/* Scenario: The Timer is no longer needed. */

◆ Cy_SysAnalog_TimerSetPeriod()

__STATIC_INLINE void Cy_SysAnalog_TimerSetPeriod ( PASS_Type *  base,
uint32_t  periodVal 
)

Sets the analog subsystem timer period.

Parameters
basePointer to the PASS register structure.
periodValthe period value. Actual timer period equals periodVal + 1.
Returns
None
Function Usage
uint32_t period;
/* Scenario: Get the Timer period value. */
/* Scenario: Set the new Timer period value. */

◆ Cy_SysAnalog_TimerGetPeriod()

__STATIC_INLINE uint32_t Cy_SysAnalog_TimerGetPeriod ( const PASS_Type *  base)

Returns the analog subsystem timer period.

Parameters
basePointer to the PASS register structure.
Returns
the Timer period value.
Function Usage
uint32_t period;
/* Scenario: Get the Timer period value. */
/* Scenario: Set the new Timer period value. */