brazos-trapezoidal
Macros
SRMCPwm_prm.h File Reference

Basic description of file contents. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SR_MCPWM_ADC_START_DELAY   140
 
#define SR_PWM_HIGH_CHANNELS_ACTIVE_LEVEL   1
 
#define SR_PWM_LOW_CHANNELS_ACTIVE_LEVEL   1
 
#define SR_PWM_LOWERS_ON_DUTY_CYCLE   SRMCPWM__GET_LOWERS_ON_PWM()
 
#define SR_PWM_UPPERS_ON_DUTY_CYCLE   0
 
#define SR_PWM_FREQUENCY_HZ   8000
 
#define SR_PWM_DEADTIME_NS   1000
 
#define SR_PWM_SEL_INTRNL_SHUTDOWN   1
 
#define PIN_OF_HIGHERS_PWM_IDLE_STATE   0 /* Upper side state when peripheral is disconnected from the pin */
 
#define PIN_OF_LOWERS_PWM_IDLE_STATE   0 /* Low side state when peripheral is disconnected from the pin */
 
#define SD_PIN_TYPE_DEF   OUTPUT_PUSHPULL
 
#define SD_PIN_INIT_STATE   1
 
#define SR_TRANSMIT_AT_CREST   (1)
 
#define SR_MTU_FREQUENCY   (HSE_VALUE * 8)
 
#define SR_MCPWM_SD_PULSE_WIDTH_BASE250US   12
 
#define SR_MCPWM_SHUTDOWN_ACTIVE_POLARITY   0
 
#define SR_MCPWM_DIAG_TOTAL_SAMPLES_NR   25
 
#define SR_MCPWM_DIAG_SAMPLES_4_DECISION   15
 

Detailed Description

Basic description of file contents.



Definition in file SRMCPwm_prm.h.

Macro Definition Documentation

◆ PIN_OF_HIGHERS_PWM_IDLE_STATE

#define PIN_OF_HIGHERS_PWM_IDLE_STATE   0 /* Upper side state when peripheral is disconnected from the pin */

Definition at line 30 of file SRMCPwm_prm.h.

◆ PIN_OF_LOWERS_PWM_IDLE_STATE

#define PIN_OF_LOWERS_PWM_IDLE_STATE   0 /* Low side state when peripheral is disconnected from the pin */

Definition at line 31 of file SRMCPwm_prm.h.

◆ SD_PIN_INIT_STATE

#define SD_PIN_INIT_STATE   1

Definition at line 33 of file SRMCPwm_prm.h.

◆ SD_PIN_TYPE_DEF

#define SD_PIN_TYPE_DEF   OUTPUT_PUSHPULL

Definition at line 32 of file SRMCPwm_prm.h.

◆ SR_MCPWM_ADC_START_DELAY

#define SR_MCPWM_ADC_START_DELAY   140

Definition at line 16 of file SRMCPwm_prm.h.

◆ SR_MCPWM_DIAG_SAMPLES_4_DECISION

#define SR_MCPWM_DIAG_SAMPLES_4_DECISION   15

Definition at line 45 of file SRMCPwm_prm.h.

◆ SR_MCPWM_DIAG_TOTAL_SAMPLES_NR

#define SR_MCPWM_DIAG_TOTAL_SAMPLES_NR   25

Definition at line 44 of file SRMCPwm_prm.h.

◆ SR_MCPWM_SD_PULSE_WIDTH_BASE250US

#define SR_MCPWM_SD_PULSE_WIDTH_BASE250US   12

Definition at line 40 of file SRMCPwm_prm.h.

◆ SR_MCPWM_SHUTDOWN_ACTIVE_POLARITY

#define SR_MCPWM_SHUTDOWN_ACTIVE_POLARITY   0

Definition at line 42 of file SRMCPwm_prm.h.

◆ SR_MTU_FREQUENCY

#define SR_MTU_FREQUENCY   (HSE_VALUE * 8)

Definition at line 37 of file SRMCPwm_prm.h.

◆ SR_PWM_DEADTIME_NS

#define SR_PWM_DEADTIME_NS   1000

Definition at line 26 of file SRMCPwm_prm.h.

◆ SR_PWM_FREQUENCY_HZ

#define SR_PWM_FREQUENCY_HZ   8000

Definition at line 25 of file SRMCPwm_prm.h.

◆ SR_PWM_HIGH_CHANNELS_ACTIVE_LEVEL

#define SR_PWM_HIGH_CHANNELS_ACTIVE_LEVEL   1

Definition at line 19 of file SRMCPwm_prm.h.

◆ SR_PWM_LOW_CHANNELS_ACTIVE_LEVEL

#define SR_PWM_LOW_CHANNELS_ACTIVE_LEVEL   1

Definition at line 20 of file SRMCPwm_prm.h.

◆ SR_PWM_LOWERS_ON_DUTY_CYCLE

#define SR_PWM_LOWERS_ON_DUTY_CYCLE   SRMCPWM__GET_LOWERS_ON_PWM()

Definition at line 22 of file SRMCPwm_prm.h.

◆ SR_PWM_SEL_INTRNL_SHUTDOWN

#define SR_PWM_SEL_INTRNL_SHUTDOWN   1

Definition at line 28 of file SRMCPwm_prm.h.

◆ SR_PWM_UPPERS_ON_DUTY_CYCLE

#define SR_PWM_UPPERS_ON_DUTY_CYCLE   0

Definition at line 23 of file SRMCPwm_prm.h.

◆ SR_TRANSMIT_AT_CREST

#define SR_TRANSMIT_AT_CREST   (1)

Definition at line 35 of file SRMCPwm_prm.h.