MCUSW
Loading...
Searching...
No Matches
Pwm_Cfg.h File Reference

Introduction

This file contains generated pre compile configuration file for PWM MCAL driver.

Go to the source code of this file.

Macros

#define PWM_PRE_COMPILE_VARIANT   (STD_ON )
 PWM Build Variant. Build variants.(i.e Pre-compile,Post-build or Link time)
 
#define PWM_VARIANT_POST_BUILD   (STD_OFF)
 
#define PWM_DEINIT_API   (STD_ON)
 Enable/Disable PWM DeInit API.
 
#define PWM_SET_DUTY_CYCLE_API   (STD_ON)
 Enable/Disable PWM SetDutyCycle API.
 
#define PWM_SET_OUTPUT_TO_IDLE_API   (STD_ON)
 Enable/Disable PWM SetOutputToIdle API.
 
#define PWM_SET_PERIOD_AND_DUTY_API   (STD_ON)
 Enable/Disable PWM SetPeriodAndDuty API.
 
#define PWM_VERSION_INFO_API   (STD_ON)
 Enable/Disable PWM VersionInfo API.
 
#define PWM_REGISTER_READBACK_API   (STD_ON)
 Enable/Disable PWM RegisterReadback API.
 
#define PWM_DUTYCYCLE_UPDATED_ENDPERIOD   (STD_ON)
 Enable/Disable PWM Dutycycle update always at the end of the period.
 
#define PWM_PERIOD_UPDATED_ENDPERIOD   (STD_ON)
 Enable/Disable PWM Period update always at the end of the period.
 
#define PWM_ISR_TYPE   (PWM_ISR_CAT1)
 ISR type.
 
#define PWM_NUM_CHANNELS   (1U)
 Number of configured channels.
 
#define PWM_DEV_ERROR_DETECT   (STD_ON)
 Enable/Disable PWM dev detect error.
 
#define PWM_NOTIFICATION_SUPPORTED   (STD_ON)
 Enable/Disable PWM notifications.
 
#define PWM_OS_COUNTER_ID   ((CounterType)OsCounter_0)
 Counter ID for counter used to count wait ticks.
 
#define PWM_INDEX   (0U)
 Instance ID for driver module for EPWM usage.
 
#define PWM_INSTANCE_ID   (PWM_INDEX)
 
#define PWM_USE_EPWM
 
#define PWM_TIMEOUT_DURATION   (32000U)
 timeout. Each tick is 31.25us (for 32K Counter). Wait for 5s which comes to below value
 
#define PwmConf_PwmChannel_PwmChannel_0   (0U)
 Channel ID Symbolic Names Configured channel ID(s)
 
#define PWM_INIT_CONFIG_PC   PwmChannelConfigSet
 Pre Compile config macro name.
 
#define EHRPWM_BASE_OFFSET   0x0U
 
#define PWM_MAX_NUM_CHANNELS   (3U)
 
#define PWM_CHANNEL0   (0U)
 EPWM Channel 0, in MCU DOMAIN.
 

Functions

void Pwm_Ch0Notify (void)
 EPWM Channel 0 ISR.
 

Variables

const uint32 Pwm_HwUnitBaseAddr [PWM_MAX_NUM_CHANNELS]
 
const struct Pwm_ConfigType_PC_s PwmChannelConfigSet_PC
 PWM Configuration structure declaration.
 
const struct Pwm_ConfigType_s PwmChannelConfigSet