This files defines PWM MCAL configuration structures
◆ PWM_PRE_COMPILE_VARIANT
#define PWM_PRE_COMPILE_VARIANT (STD_ON ) |
PWM Build Variant. Build variants.(i.e Pre-compile,Post-build or Link time)
◆ PWM_DEINIT_API
#define PWM_DEINIT_API (STD_ON) |
Enable/Disable PWM DeInit API.
◆ PWM_SET_DUTY_CYCLE_API
#define PWM_SET_DUTY_CYCLE_API (STD_ON) |
Enable/Disable PWM SetDutyCycle API.
◆ PWM_SET_OUTPUT_TO_IDLE_API
#define PWM_SET_OUTPUT_TO_IDLE_API (STD_ON) |
Enable/Disable PWM SetOutputToIdle API.
◆ PWM_SET_PERIOD_AND_DUTY_API
#define PWM_SET_PERIOD_AND_DUTY_API (STD_ON) |
Enable/Disable PWM SetPeriodAndDuty API.
◆ PWM_REGISTER_READBACK_API
#define PWM_REGISTER_READBACK_API (STD_ON) |
Enable/Disable PWM RegisterReadback API.
◆ PWM_DUTYCYCLE_UPDATED_ENDPERIOD
#define PWM_DUTYCYCLE_UPDATED_ENDPERIOD (STD_ON) |
Enable/Disable PWM Dutycycle update always at the end of the period.
◆ PWM_PERIOD_UPDATED_ENDPERIOD
#define PWM_PERIOD_UPDATED_ENDPERIOD (STD_ON) |
Enable/Disable PWM Period update always at the end of the period.
◆ PWM_ISR_TYPE
◆ PWM_NUM_CHANNELS
#define PWM_NUM_CHANNELS (1U) |
Number of configured channels.
◆ PWM_DEV_ERROR_DETECT
#define PWM_DEV_ERROR_DETECT (STD_ON) |
Enable/Disable PWM dev detect error.
◆ PWM_NOTIFICATION_SUPPORTED
#define PWM_NOTIFICATION_SUPPORTED (STD_ON) |
Enable/Disable PWM notifications.
◆ PWM_OS_COUNTER_ID
#define PWM_OS_COUNTER_ID ((CounterType)OsCounter_0) |
Counter ID for counter used to count wait ticks.
◆ PWM_TIMEOUT_DURATION
#define PWM_TIMEOUT_DURATION (32000U) |
timeout. Each tick is 31.25us (for 32K Counter). Wait for 5s which comes to below value
◆ PwmConf_PwmChannelConfiguration_PwmChannel_0
#define PwmConf_PwmChannelConfiguration_PwmChannel_0 (10U) |
Channel ID Symbolic Names Configured channel ID(s)
Channel identifiers
◆ PWM_INIT_CONFIG_PC
Pre Compile config macro name.
◆ Pwm_PeriodType
◆ Pwm_ChannelType
◆ Pwm_NotifyFuncType
typedef void(* Pwm_NotifyFuncType) (void) |
Notification callback function pointer.
◆ Pwm_OutputStateType
Possible output states of a PWM channel.
Enumerator |
---|
PWM_LOW | LOW state
|
PWM_HIGH | HIGH state
|
◆ Pwm_EdgeNotificationType
Possible edge notification.
Enumerator |
---|
PWM_RISING_EDGE | Rising edges issue notification
|
PWM_FALLING_EDGE | Falling edges issue notification
|
PWM_BOTH_EDGES | Both edges issue notification
|
◆ Pwm_ChannelClassType
Period type for pwm channels. Fixed periods prohibit changes to the period length with Pwm_SetPeriod( ). PWM_FIXED_PERIOD_SHIFTED type is not supported due to hardware restrictions of the PWM unit.
Enumerator |
---|
PWM_FIXED_PERIOD | Period is immutable
|
PWM_FIXED_PERIOD_SHIFTED | Period is immutable with phase shift
|
PWM_VARIABLE_PERIOD | Period is variable
|
◆ PwmChannelConfigSet_PC
const struct Pwm_ConfigType_PC_s PwmChannelConfigSet_PC |
PWM Configuration structure declaration.
◆ PwmChannelConfigSet_ChannelConfig
const struct Pwm_ConfigType_s PwmChannelConfigSet_ChannelConfig |