Infineon Logo AIROC BTSDK v4.6 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

PWM Structures. More...

Data Structures

struct  pwm_config_t
 wiced_pwm_config_t is used only in wiced_hal_pwm_get_params() utility API . More...
 

Typedefs

typedef pwm_config_t wiced_pwm_config_t
 

Enumerations

enum  PwmChannels {
  PWM0 = 0, PWM1 = 1, PWM2 = 2, PWM3 = 3,
  PWM4 = 4, PWM5 = 5, MAX_PWMS = 6
}
 PWM HW block has 6 PWM channels each with its own 16 bit counter. More...
 
enum  PwmClockType { LHL_CLK, PMU_CLK }
 Each PWM channel can be sourced from two clock inputs listed in PwmClockType. More...
 

Detailed Description

PWM Structures.

Enumeration Type Documentation

PWM HW block has 6 PWM channels each with its own 16 bit counter.

The first PWM channel is PWM0.

Each PWM channel can be sourced from two clock inputs listed in PwmClockType.

PMU_CLK is routed via ACLK1 and thus application needs to enable ACLK1 before using PMU_CLK as PWM source. When LHL_CLK is selected it's routed directly to PWM and input frequency is set to 32 KHz.