Macros
DUAL TIMER Private Macros
Peripheral Driver » HAL Driver » DUAL TIMER » Defines
Collaboration diagram for DUAL TIMER Private Macros:

## Macros
#define | IS_DUAL_TIMER_PRESCALER(__PRESCALER__)
| Check if DUAL TIMER prescaler is valid. More...
#define | IS_DUAL_TIMER_COUNTERMODE(__MODE__)
| Check if DUAL TIMER counter mode is valid. More...

## Detailed Description

## Macro Definition Documentation

## ◆ IS_DUAL_TIMER_COUNTERMODE

#define IS_DUAL_TIMER_COUNTERMODE | ( |  | __MODE__ | ) |

Value:
(((__MODE__) == DUAL_TIMER_COUNTERMODE_LOOP) || \
((__MODE__) == DUAL_TIMER_COUNTERMODE_ONESHOT))

Check if DUAL TIMER counter mode is valid.

Parameters

  <strong>MODE</strong> | DUAL TIMER counter mode.

Return values

  SET | (MODE is valid) or RESET (MODE is invalid)

Definition at line 247 of file gr55xx_hal_dual_tim.h.

## ◆ IS_DUAL_TIMER_PRESCALER

#define IS_DUAL_TIMER_PRESCALER | ( |  | __PRESCALER__ | ) |

Value:
(((__PRESCALER__) == DUAL_TIMER_PRESCALER_DIV0) || \
((__PRESCALER__) == DUAL_TIMER_PRESCALER_DIV16) || \
((__PRESCALER__) == DUAL_TIMER_PRESCALER_DIV256))

Check if DUAL TIMER prescaler is valid.

Parameters

  <strong>PRESCALER</strong> | DUAL TIMER prescaler.

Return values

  SET | (PRESCALER is valid) or RESET (PRESCALER is invalid)

Definition at line 239 of file gr55xx_hal_dual_tim.h.

DUAL_TIMER_PRESCALER_DIV0
#define DUAL_TIMER_PRESCALER_DIV0
0 stage of prescale, clock is divided by 1.
Definition: gr55xx_hal_dual_tim.h:167
DUAL_TIMER_PRESCALER_DIV16
#define DUAL_TIMER_PRESCALER_DIV16
4 stages of prescale, clock is divided by 16.
Definition: gr55xx_hal_dual_tim.h:168
DUAL_TIMER_COUNTERMODE_LOOP
#define DUAL_TIMER_COUNTERMODE_LOOP
DUAL TIMER Loop mode.
Definition: gr55xx_hal_dual_tim.h:175
DUAL_TIMER_COUNTERMODE_ONESHOT
#define DUAL_TIMER_COUNTERMODE_ONESHOT
DUAL TIMER One-shot mode.
Definition: gr55xx_hal_dual_tim.h:176
DUAL_TIMER_PRESCALER_DIV256
#define DUAL_TIMER_PRESCALER_DIV256
8 stages of prescale, clock is divided by 256.
Definition: gr55xx_hal_dual_tim.h:169