HPM SDK
HPMicro Software Development Kit
gptmr_channel_config Struct Reference

GPTMR counter mode. More...

#include <hpm_gptmr_drv.h>

Data Fields

gptmr_work_mode_t mode
 
gptmr_dma_request_event_t dma_request_event
 
gptmr_synci_edge_t synci_edge
 
uint32_t cmp [(2U)]
 
uint32_t reload
 
bool cmp_initial_polarity_high
 
bool enable_cmp_output
 
bool enable_sync_follow_previous_channel
 
bool enable_software_sync
 
bool debug_mode
 

Detailed Description

GPTMR counter mode.

GPTMR channel config

Field Documentation

◆ cmp

uint32_t gptmr_channel_config::cmp[(2U)]

◆ cmp_initial_polarity_high

bool gptmr_channel_config::cmp_initial_polarity_high

◆ debug_mode

bool gptmr_channel_config::debug_mode

◆ dma_request_event

gptmr_dma_request_event_t gptmr_channel_config::dma_request_event

◆ enable_cmp_output

bool gptmr_channel_config::enable_cmp_output

◆ enable_software_sync

bool gptmr_channel_config::enable_software_sync

◆ enable_sync_follow_previous_channel

bool gptmr_channel_config::enable_sync_follow_previous_channel

◆ mode

gptmr_work_mode_t gptmr_channel_config::mode

◆ reload

uint32_t gptmr_channel_config::reload

◆ synci_edge

gptmr_synci_edge_t gptmr_channel_config::synci_edge

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