Functions | |
| DutyCycleUpdateFnc | BSP_PWM11_16_ConfigInvertedPairs (uint32_t pwmNo, pwm_config_t *config, int pairCount) |
| Configures consecutive inverted pairs for PWM. | |
| float | BSP_PWM11_16_UpdatePairDuty (uint32_t pwmNo, float duty, pwm_config_t *config) |
| Update the Duty Cycle of an Inverted Pair. | |
| DutyCycleUpdateFnc | BSP_PWM11_16_ConfigChannels (uint32_t pwmNo, pwm_config_t *config, int chCount) |
| Configures consecutive PWM channels. | |
| float | BSP_PWM11_16_UpdateChannelDuty (uint32_t pwmNo, float duty, pwm_config_t *config) |
| Update the Duty Cycle of a channel. | |
| void | BSP_PWM11_16_Config_Interrupt (bool enable, PWMResetCallback callback, int priority) |
| Enable / Disable interrupt for a PWM channel as per requirement. | |
|
extern |
| enable | If enable interrupt set this parameter to true |
| callback | Specifies the function to be called when the PWM is reset |
| priority | Interrupt priority. Range (0-15). Here 0 is the highest priority |
|
extern |
| pwmNo | Channel no of the first PWM Channel in the pair (Valid Values 11-16) |
| *config | Pointer to a pwm_config_t structure that contains the configuration parameters for the PWM channels |
| chCount | No of channels to be configured with the setting. Max supported value is 3. The value should be counted while skipping even channels. e.g. if pwmNo = 11 and chCount = 2 the PWMs 11 and 13 will be configured with the specified setting while PWM12 will be the inverted version of PWM11 |
|
extern |
| pwmNo | Channel no of reference channel is the PWM pair (Valid Values 11-16). Pairs are classified as :
|
| *config | Pointer to a pwm_config_t structure that contains the configuration parameters for the PWM pair |
| pairCount | No of PWM pairs to be configured |
|
extern |
| pwmNo | PWM channel to be configured (Valid Values 11-16) |
| duty | duty cycle to be applied to the channel (Range 0-1 or given in the config parameter) |
| *config | Pointer to a pwm_config_t structure that contains the configuration parameters for the PWM channel |
|
extern |
| pwmNo | Channel no of reference channel is the PWM pair (Valid Values 11-16). Pairs are classified as :
|
| duty | duty cycle to be applied to the pair (Range 0-1 or given in the config parameter) |
| *config | Pointer to a pwm_config_t structure that contains the configuration parameters for the PWM pair |