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.

PWM Driver ISR category level

Defines for PWM Driver ISR ISR category level

#define PWM_ISR_VOID   (0x00U)
 void ISR type
 
#define PWM_ISR_CAT1   (0x01U)
 Category 1 ISR type.
 
#define PWM_ISR_CAT2   (0x02U)
 Category 2 ISR type.
 
#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_GET_OUTPUT_STATE_API   (STD_OFF)
 Enable/Disable PWM GetOutputState 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_CAT2)
 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_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 MAIN DOMAIN.
 
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
 
 ISR (Pwm_Ch0Notify)
 EPWM Channel 0 ISR.
 

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)