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

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

Return values

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

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

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