Macros
InitStrcut default configuartion
Peripheral Driver » LL Driver » PWM » Defines » PWM Exported Constants
Collaboration diagram for InitStrcut default configuartion:

## 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, \
.flickerstop_lvl = LL_PWM_STOP_LVL_LOW, \
}

LL PWM Channel InitStrcut default configuartion.

Definition at line 202 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, \
.breathstop_lvl = LL_PWM_STOP_LVL_LOW, \
.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 212 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:190
LL_PWM_DRIVEPOLARITY_POSITIVE
#define LL_PWM_DRIVEPOLARITY_POSITIVE
PWM led-positive-drive mode.
Definition: gr55xx_ll_pwm.h:175
LL_PWM_EDGE_ALIGNED
#define LL_PWM_EDGE_ALIGNED
PWM edge-aligned.
Definition: gr55xx_ll_pwm.h:160
LL_PWM_HOLD_PRESCALER_UNIT
#define LL_PWM_HOLD_PRESCALER_UNIT
The unit of hold prescaler is 10.
Definition: gr55xx_ll_pwm.h:192
LL_PWM_BREATH_PRESCALER_UNIT
#define LL_PWM_BREATH_PRESCALER_UNIT
The unit of breath prescaler is 128.
Definition: gr55xx_ll_pwm.h:191
LL_PWM_STOP_LVL_LOW
#define LL_PWM_STOP_LVL_LOW
PWM stop in low io level.
Definition: gr55xx_ll_pwm.h:167
LL_PWM_CHANNEL_DEFAULT_CONFIG
#define LL_PWM_CHANNEL_DEFAULT_CONFIG
LL PWM Channel InitStrcut default configuartion.
Definition: gr55xx_ll_pwm.h:202
LL_PWM_FLICKER_MODE
#define LL_PWM_FLICKER_MODE
PWM flicker mode.
Definition: gr55xx_ll_pwm.h:153