G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference

Macros

#define DDL_TMR_COUNTERMODE_UP   0x00000000U
#define DDL_TMR_COUNTERMODE_DOWN   TMR_CTRL1_CNTDIR
#define DDL_TMR_COUNTERMODE_CENTER_DOWN   TMR_CTRL1_CAMSEL_0
#define DDL_TMR_COUNTERMODE_CENTER_UP   TMR_CTRL1_CAMSEL_1
#define DDL_TMR_COUNTERMODE_CENTER_UP_DOWN   TMR_CTRL1_CAMSEL

Detailed Description

Macro Definition Documentation

◆ DDL_TMR_COUNTERMODE_CENTER_DOWN

#define DDL_TMR_COUNTERMODE_CENTER_DOWN   TMR_CTRL1_CAMSEL_0

The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting down.

Definition at line 577 of file g32r4xx_ddl_tmr.h.

◆ DDL_TMR_COUNTERMODE_CENTER_UP

#define DDL_TMR_COUNTERMODE_CENTER_UP   TMR_CTRL1_CAMSEL_1

The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting up

Definition at line 578 of file g32r4xx_ddl_tmr.h.

◆ DDL_TMR_COUNTERMODE_CENTER_UP_DOWN

#define DDL_TMR_COUNTERMODE_CENTER_UP_DOWN   TMR_CTRL1_CAMSEL

The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting up or down.

Definition at line 579 of file g32r4xx_ddl_tmr.h.

◆ DDL_TMR_COUNTERMODE_DOWN

#define DDL_TMR_COUNTERMODE_DOWN   TMR_CTRL1_CNTDIR

Counter used as downcounter

Definition at line 576 of file g32r4xx_ddl_tmr.h.

◆ DDL_TMR_COUNTERMODE_UP

#define DDL_TMR_COUNTERMODE_UP   0x00000000U

Counter used as upcounter

Definition at line 575 of file g32r4xx_ddl_tmr.h.