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...
#define | IS_DUAL_TIMER_IO_INIT_STATE(__MODE__)
| Check if DUAL TIMER io initial state is valid. More...
#define | IS_DUAL_TIMER_IO_ACT_MODE(__MODE__)
| Check if DUAL TIMER io action 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 309 of file hal_dual_tim.h.

## ◆ IS_DUAL_TIMER_IO_ACT_MODE

#define IS_DUAL_TIMER_IO_ACT_MODE | ( |  | __MODE__ | ) |

Value:
(((__MODE__) == DUAL_TIMER_IO_ACTION_NONE) || \
((__MODE__) == DUAL_TIMER_IO_ACTION_SET)) || \
((__MODE__) == DUAL_TIMER_IO_ACTION_RESET)) || \
((__MODE__) == DUAL_TIMER_IO_ACTION_TOGGLE))

Check if DUAL TIMER io action mode is valid.

Parameters

  __MODE__ | DUAL TIMER io action mode.

Return values

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

Definition at line 323 of file hal_dual_tim.h.

## ◆ IS_DUAL_TIMER_IO_INIT_STATE

#define IS_DUAL_TIMER_IO_INIT_STATE | ( |  | __MODE__ | ) |

Value:
(((__MODE__) == DUAL_TIMER_IO_INIT_RESET) || \
((__MODE__) == DUAL_TIMER_IO_INIT_SET))

Check if DUAL TIMER io initial state is valid.

Parameters

  __MODE__ | DUAL TIMER io initial state.

Return values

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

Definition at line 316 of file 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 301 of file hal_dual_tim.h.

DUAL_TIMER_PRESCALER_DIV0
#define DUAL_TIMER_PRESCALER_DIV0
Definition: hal_dual_tim.h:213
DUAL_TIMER_PRESCALER_DIV16
#define DUAL_TIMER_PRESCALER_DIV16
Definition: hal_dual_tim.h:214
DUAL_TIMER_COUNTERMODE_LOOP
#define DUAL_TIMER_COUNTERMODE_LOOP
Definition: hal_dual_tim.h:221
DUAL_TIMER_IO_INIT_SET
#define DUAL_TIMER_IO_INIT_SET
Definition: hal_dual_tim.h:229
DUAL_TIMER_IO_ACTION_TOGGLE
#define DUAL_TIMER_IO_ACTION_TOGGLE
Definition: hal_dual_tim.h:238
DUAL_TIMER_COUNTERMODE_ONESHOT
#define DUAL_TIMER_COUNTERMODE_ONESHOT
Definition: hal_dual_tim.h:222
DUAL_TIMER_IO_INIT_RESET
#define DUAL_TIMER_IO_INIT_RESET
Definition: hal_dual_tim.h:228
DUAL_TIMER_PRESCALER_DIV256
#define DUAL_TIMER_PRESCALER_DIV256
Definition: hal_dual_tim.h:215
DUAL_TIMER_IO_ACTION_NONE
#define DUAL_TIMER_IO_ACTION_NONE
Definition: hal_dual_tim.h:235
DUAL_TIMER_IO_ACTION_SET
#define DUAL_TIMER_IO_ACTION_SET
Definition: hal_dual_tim.h:236
DUAL_TIMER_IO_ACTION_RESET
#define DUAL_TIMER_IO_ACTION_RESET
Definition: hal_dual_tim.h:237