HPM SDK
HPMicro Software Development Kit
pwm_cmp_config Struct Reference

pwm compare config More...

#include <hpm_pwm_drv.h>

Data Fields

uint32_t cmp
 
bool enable_ex_cmp
 
uint8_t mode
 
uint8_t update_trigger
 
uint8_t ex_cmp
 
uint8_t half_clock_cmp
 
uint8_t jitter_cmp
 

Detailed Description

pwm compare config

Field Documentation

◆ cmp

uint32_t pwm_cmp_config::cmp

compare value

◆ enable_ex_cmp

bool pwm_cmp_config::enable_ex_cmp

enable extended compare value

◆ ex_cmp

uint8_t pwm_cmp_config::ex_cmp

extended compare value

◆ half_clock_cmp

uint8_t pwm_cmp_config::half_clock_cmp

half clock compare value

◆ jitter_cmp

uint8_t pwm_cmp_config::jitter_cmp

jitter compare value

◆ mode

uint8_t pwm_cmp_config::mode

compare work mode: pwm_cmp_mode_output_compare or pwm_cmp_mode_input_capture

◆ update_trigger

uint8_t pwm_cmp_config::update_trigger

compare configuration update trigger


The documentation for this struct was generated from the following file: