Macros
InitStrcut default configuartion
Peripheral Driver » LL Driver » PWM » Defines » PWM Exported Constants

## Macros
#define | LL_PWM_CHANNEL_DEFAULT_CONFIG
| LL PWM Channel InitStrcut default configuartion. More...
#define | LL_PWM_DEFAULT_CONFIG
| LL PWM InitStrcut default configuartion. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_PWM_CHANNEL_DEFAULT_CONFIG

#define LL_PWM_CHANNEL_DEFAULT_CONFIG

Value:
{ \
.duty = 50, \
.drive_polarity = LL_PWM_DRIVEPOLARITY_POSITIVE, \
}

LL PWM Channel InitStrcut default configuartion.

Definition at line 190 of file gr55xx_ll_pwm.h.

## ◆ LL_PWM_DEFAULT_CONFIG

#define LL_PWM_DEFAULT_CONFIG

Value:
{ \
.mode = LL_PWM_FLICKER_MODE, \
.align = LL_PWM_EDGE_ALIGNED, \
.prescaler = 10 * LL_PWM_PRESCALER_UNIT, \
.bprescaler = 10 * LL_PWM_BREATH_PRESCALER_UNIT * 10 * LL_PWM_PRESCALER_UNIT, \
.hprescaler = 10 * LL_PWM_HOLD_PRESCALER_UNIT * 10 * LL_PWM_PRESCALER_UNIT, \
.channel_a = LL_PWM_CHANNEL_DEFAULT_CONFIG, \
.channel_b = LL_PWM_CHANNEL_DEFAULT_CONFIG, \
.channel_c = LL_PWM_CHANNEL_DEFAULT_CONFIG, \
}

LL PWM InitStrcut default configuartion.

Definition at line 199 of file gr55xx_ll_pwm.h.

LL_PWM_PRESCALER_UNIT
#define LL_PWM_PRESCALER_UNIT
The unit of prescaler is 128.
Definition: gr55xx_ll_pwm.h:178
LL_PWM_DRIVEPOLARITY_POSITIVE
#define LL_PWM_DRIVEPOLARITY_POSITIVE
PWM led-positive-drive mode.
Definition: gr55xx_ll_pwm.h:163
LL_PWM_EDGE_ALIGNED
#define LL_PWM_EDGE_ALIGNED
PWM edge-aligned.
Definition: gr55xx_ll_pwm.h:155
LL_PWM_HOLD_PRESCALER_UNIT
#define LL_PWM_HOLD_PRESCALER_UNIT
The unit of hold prescaler is 10.
Definition: gr55xx_ll_pwm.h:180
LL_PWM_BREATH_PRESCALER_UNIT
#define LL_PWM_BREATH_PRESCALER_UNIT
The unit of breath prescaler is 128.
Definition: gr55xx_ll_pwm.h:179
LL_PWM_CHANNEL_DEFAULT_CONFIG
#define LL_PWM_CHANNEL_DEFAULT_CONFIG
LL PWM Channel InitStrcut default configuartion.
Definition: gr55xx_ll_pwm.h:190
LL_PWM_FLICKER_MODE
#define LL_PWM_FLICKER_MODE
PWM flicker mode.
Definition: gr55xx_ll_pwm.h:148