A31R71x F/W Packages  1.5.0
ABOV Cortex-M0+ Core based MCUs Integrated Driver
Data Fields
TIMER2n_CAPTURECFG_Type Struct Reference

#include <A31R71x_hal_timer2n.h>

Collaboration diagram for TIMER2n_CAPTURECFG_Type:

Data Fields

uint8_t TCLK_SEL
 
uint16_t Prescaler
 
uint8_t ClrMode
 
uint8_t CkSel
 
uint8_t CAPCkSel
 
uint8_t Reserved [2]
 

Detailed Description

Capture Input configuration structure

Definition at line 234 of file A31R71x_hal_timer2n.h.

Field Documentation

◆ CAPCkSel

uint8_t CAPCkSel

Capture clock source select, should be:

  • External Capture Signal
  • XSOSC
  • WDTRC

Definition at line 257 of file A31R71x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ CkSel

uint8_t CkSel

Counter clock source select, should be:

  • PCLK_2: PCLK / 2
  • PCLK_4: PCLK / 4
  • PCLK_16: PCLK / 16
  • PCLK_64: PCLK / 64
  • EXT = 4: EXT, clock source from MCCR3(TEXT) clock
  • TnC

Definition at line 249 of file A31R71x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ ClrMode

uint8_t ClrMode

clear select when capture, should be:

  • TIMER2n_RISING_EGDE
  • TIMER2n_FALLING_EGDE
  • TIMER2n_BOTH_EGDE
  • TIMER2n_NONE

Definition at line 243 of file A31R71x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ Prescaler

uint16_t Prescaler

Timer Prescaler(TnPRS), should be:

  • 0~4095 value range

Definition at line 240 of file A31R71x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().

◆ Reserved

uint8_t Reserved[2]

Reserved

Definition at line 262 of file A31R71x_hal_timer2n.h.

◆ TCLK_SEL

uint8_t TCLK_SEL

Timer Clock Source, should be:

  • XSOSC
  • PCLK

Definition at line 236 of file A31R71x_hal_timer2n.h.

Referenced by HAL_TIMER2n_Init().


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