A31G11x F/W Packages  2.5.0
ABOV Cortex-M0+ Core based MCUs Integrated Driver
Data Fields
TIMER2n_PERIODICCFG_Type Struct Reference

#include <A31G11x_hal_timer2n.h>

Collaboration diagram for TIMER2n_PERIODICCFG_Type:

Data Fields

uint32_t ADR
 
uint32_t BDR
 
uint8_t TCLK_SEL
 
uint16_t Prescaler
 
uint8_t CkSel
 
uint8_t ExtCkEdge
 
uint8_t StartLevel
 
uint8_t CapEdge
 

Detailed Description

Configuration structure in TIMER mode

Definition at line 172 of file A31G11x_hal_timer2n.h.

Field Documentation

◆ ADR

uint32_t ADR

Definition at line 174 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ BDR

uint32_t BDR

Definition at line 175 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ CapEdge

uint8_t CapEdge

Set Capture Edge, should be:

  • Falling Edge
  • Rising Edge
  • Both Edge

Definition at line 195 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ CkSel

uint8_t CkSel

Counter clock source select, should be:

  • Internal
  • EXT : EXT, clock source

Definition at line 183 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ ExtCkEdge

uint8_t ExtCkEdge

Set External Clock Edge Selection bit:

  • Falling Edge
  • Rising Edge

Definition at line 187 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ Prescaler

uint16_t Prescaler

Timer Prescaler(TnPRS), should be:

  • 0~4095 value range

Definition at line 180 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ StartLevel

uint8_t StartLevel

set initial output value, should be:

  • TIMER2n_START_LOW
  • TIMER2n_START_HIGH

Definition at line 191 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ TCLK_SEL

uint8_t TCLK_SEL

Timer Clock Source, should be:

  • XSOSC
  • PCLK

Definition at line 176 of file A31G11x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().


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