Functions | |
DutyCycleUpdateFnc | BSP_PWM1_10_ConfigInvertedPairs (uint32_t pwmNo, pwm_config_t *config, int pairCount) |
Configures consecutive inverted pairs for PWM. | |
float | BSP_PWM1_10_UpdatePairDuty (uint32_t pwmNo, float duty, pwm_config_t *config) |
Update the Duty Cycle of an Inverted Pair. | |
DutyCycleUpdateFnc | BSP_PWM1_10_ConfigChannels (uint32_t pwmNo, pwm_config_t *config, int chCount) |
Configures consecutive PWM channels. | |
float | BSP_PWM1_10_UpdateChannelDuty (uint32_t pwmNo, float duty, pwm_config_t *config) |
Update the Duty Cycle of a channel. | |
void | BSP_PWM1_10_Config_Interrupt (uint32_t pwmNo, bool enable, PWMResetCallback callback, int priority) |
Enable / Disable interrupt for a PWM channel as per requirement. | |
void | PWM1_10_ActivateInvertedPair (uint32_t pwmNo, bool en) |
Activates a specific PWM Inverted pair. | |
|
extern |
pwmNo | Channel no of the PWM Channel (Range 1-10) |
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 1-10) |
*config | Pointer to a pwm_config_t structure that contains the configuration parameters for the PWM pair |
chCount | No of channels to be configured with the setting |
|
extern |
pwmNo | Channel no of reference channel is the PWM pair (Valid Values 1-10). 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 1-10) |
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 1-10). 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 |
|
extern |
pwmNo | Channel no of reference channel is the PWM pair (Valid Values 1-10). Pairs are classified as :
|
en | true if needs activation, else false |