Functions | |
| DutyCycleUpdateFnc | BSP_PWM_ConfigInvertedPair (uint16_t pwmNo, pwm_config_t *config) | 
| Configures an PWM pair as inverted pair.   | |
| DutyCycleUpdateFnc | BSP_PWM_ConfigChannel (uint16_t pwmNo, pwm_config_t *config) | 
| Configures a PWM channel.   | |
| float | BSP_PWM_UpdatePairDuty (uint32_t pwmNo, float duty, pwm_config_t *config) | 
| Update the Duty Cycle of an Inverted Pair.   | |
| float | BSP_PWM_UpdateChannelDuty (uint32_t pwmNo, float duty, pwm_config_t *config) | 
| Update the Duty Cycle of a channel.   | |
| void | BSP_PWM_Config_Interrupt (uint32_t pwmNo, bool enable, PWMResetCallback callback, int priority) | 
| Enable / Disable interrupt for a PWM channel as per requirement.   | |
| void | BSP_PWM_Start (uint32_t pwmMask, bool masterHRTIM) | 
| Starts the PWM on required PWM pins. To enable outputs for required channels call BSP_PWMOut_Enable().   | |
| void | BSP_PWM_Stop (uint32_t pwmMask, bool masterHRTIM) | 
| Stops the PWM on required PWM pins.   | |
| void | BSP_PWM_GetDafaultModuleConfig (pwm_module_config_t *moduleConfig) | 
| Populates the provided pwm_module_config_t parameter with the default configuration.   | |
| void | BSP_PWM_GetDefaultConfig (pwm_config_t *pwmConfig, pwm_module_config_t *moduleConfig) | 
| Populates the provided pwm_config_t parameter with the default configuration.   | |
| void | BSP_PWMOut_Enable (uint32_t pwmMask, bool en) | 
| Enable / disable the output for required PWM channels.   | |
| static bool | IsDeadtimeEnabled (deadtime_t *dt) | 
| Checks if the dead time is enabled for the PWM.   | |
      
  | 
  extern | 
| pwmNo | Channel no of the PWM Channel (Range 1-16) | 
| 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 | PWM channel to be configured (Valid Values 1-16) | 
| *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-16).  Pairs are classified as : 
  | 
| config | Pointer to a pwm_config_t structure that contains the configuration parameters for the PWM pair | 
      
  | 
  extern | 
Default Configuration:
| moduleConfig | module configuration to be updated | 
      
  | 
  extern | 
Default Configuration:
| pwmConfig | PWM configuration structure to be updated | 
| moduleConfig | module configuration used by this module. Make sure to call BSP_PWM_GetDafaultModuleConfig() before calling this function | 
      
  | 
  extern | 
| pwmMask | Set the PWM channels needed to be run. Valid Range = (0x0001 - 0xffff)  | 
| masterHRTIM | true if masterHRTIM to be enabled synchronously else false  | 
      
  | 
  extern | 
| pwmMask | Set the PWM channels needed to be stopped. Valid Range = (0x0001 - 0xffff)  | 
| masterHRTIM | true if masterHRTIM to be disabled synchronously else false  | 
      
  | 
  extern | 
| pwmNo | PWM channel to be configured (Valid Values 1-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 1-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 | 
      
  | 
  extern | 
| pwmMask | Set the PWM channels needed to be run. Valid Range = (0x0001 - 0xffff)  | 
| en | true if needs to be enabled else false  | 
      
  | 
  inlinestatic | 
| *dt | Pointer to the dead time structure | 
true if enabled for the specified PWM else false