HPM SDK
HPMicro Software Development Kit
pwmv2_cmp_calculate_cfg Struct Reference

#include <hpm_pwmv2_drv.h>

Data Fields

uint8_t counter_index
 
uint8_t in_index
 
uint8_t in_offset_index
 
int8_t t_param
 
int8_t d_param
 
int8_t up_limit_param
 
uint8_t up_limit_offset_index
 
int8_t low_limit_param
 
uint8_t low_limit_offset_index
 
bool enable_up_limit
 
bool enbale_low_limit
 

Field Documentation

◆ counter_index

uint8_t pwmv2_cmp_calculate_cfg::counter_index

select one of 4 counter reload time

◆ d_param

int8_t pwmv2_cmp_calculate_cfg::d_param

dac/counter value parameter

◆ enable_up_limit

bool pwmv2_cmp_calculate_cfg::enable_up_limit

◆ enbale_low_limit

bool pwmv2_cmp_calculate_cfg::enbale_low_limit

◆ in_index

uint8_t pwmv2_cmp_calculate_cfg::in_index

0~3 to select one of the dac input value; 4~7 to select one of the current counter value

◆ in_offset_index

uint8_t pwmv2_cmp_calculate_cfg::in_offset_index

from one of the shadow_val

◆ low_limit_offset_index

uint8_t pwmv2_cmp_calculate_cfg::low_limit_offset_index

from one of the shadow_val

◆ low_limit_param

int8_t pwmv2_cmp_calculate_cfg::low_limit_param

◆ t_param

int8_t pwmv2_cmp_calculate_cfg::t_param

period parameter

◆ up_limit_offset_index

uint8_t pwmv2_cmp_calculate_cfg::up_limit_offset_index

from one of the shadow_val

◆ up_limit_param

int8_t pwmv2_cmp_calculate_cfg::up_limit_param

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