|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
This union represents the bit fields in the pwm_duty_low register. Read the register into the d32 member then set/clear the bits using the b elements. 更多...
#include <hal_pwm_v151_regs_def.h>
成员变量 | ||
| uint32_t | d32 | |
| struct { | ||
| uint32_t pwm_duty_l_j: 16 | ||
| uint32_t reserved1_31: 16 | ||
| } | b | |
This union represents the bit fields in the pwm_duty_low register. Read the register into the d32 member then set/clear the bits using the b elements.
| struct { ... } pwm_duty_l_data::b |
| uint32_t pwm_duty_l_data::d32 |
Raw register data.
| uint32_t pwm_duty_l_data::pwm_duty_l_j |
The pwm duty cycle controls the low 16 bits of the count value, ranging from 1 to 65535. The duty cycle is the ratio of pwm_duty to pwm_freq. Each pwm corresponds to a duty parameter.
| uint32_t pwm_duty_l_data::reserved1_31 |