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

Macros

#define DDL_TMR_SLAVEMODE_DISABLED   (0x00000000U)
#define DDL_TMR_SLAVEMODE_RESET   (TMR_SMCTRL_SMFSEL_2)
#define DDL_TMR_SLAVEMODE_GATED   (TMR_SMCTRL_SMFSEL_2 | TMR_SMCTRL_SMFSEL_0)
#define DDL_TMR_SLAVEMODE_TRIGGER   (TMR_SMCTRL_SMFSEL_2 | TMR_SMCTRL_SMFSEL_1)

Detailed Description

Macro Definition Documentation

◆ DDL_TMR_SLAVEMODE_DISABLED

#define DDL_TMR_SLAVEMODE_DISABLED   (0x00000000U)

Slave mode disabled

Definition at line 780 of file g32r4xx_ddl_tmr.h.

◆ DDL_TMR_SLAVEMODE_GATED

#define DDL_TMR_SLAVEMODE_GATED   (TMR_SMCTRL_SMFSEL_2 | TMR_SMCTRL_SMFSEL_0)

Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high

Definition at line 782 of file g32r4xx_ddl_tmr.h.

◆ DDL_TMR_SLAVEMODE_RESET

#define DDL_TMR_SLAVEMODE_RESET   (TMR_SMCTRL_SMFSEL_2)

Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter

Definition at line 781 of file g32r4xx_ddl_tmr.h.

◆ DDL_TMR_SLAVEMODE_TRIGGER

#define DDL_TMR_SLAVEMODE_TRIGGER   (TMR_SMCTRL_SMFSEL_2 | TMR_SMCTRL_SMFSEL_1)

Trigger Mode - The counter starts at a rising edge of the trigger TRGI

Definition at line 783 of file g32r4xx_ddl_tmr.h.