Macros
DUAL TIMER Private Macros
Peripheral Driver » HAL Driver » DUAL TIMER » Defines

## 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

  __MODE__ | DUAL TIMER counter mode.

Return values

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

Definition at line 248 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

  __PRESCALER__ | DUAL TIMER prescaler.

Return values

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

Definition at line 240 of file gr55xx_hal_dual_tim.h.

DUAL_TIMER_PRESCALER_DIV0
#define DUAL_TIMER_PRESCALER_DIV0
Definition: gr55xx_hal_dual_tim.h:168
DUAL_TIMER_PRESCALER_DIV16
#define DUAL_TIMER_PRESCALER_DIV16
Definition: gr55xx_hal_dual_tim.h:169
DUAL_TIMER_COUNTERMODE_LOOP
#define DUAL_TIMER_COUNTERMODE_LOOP
Definition: gr55xx_hal_dual_tim.h:176
DUAL_TIMER_COUNTERMODE_ONESHOT
#define DUAL_TIMER_COUNTERMODE_ONESHOT
Definition: gr55xx_hal_dual_tim.h:177
DUAL_TIMER_PRESCALER_DIV256
#define DUAL_TIMER_PRESCALER_DIV256
Definition: gr55xx_hal_dual_tim.h:170