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

## Macros
#define | __HAL_DUAL_TIMER_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_DUAL_TIMER_STATE_RESET)
| Reset DUAL TIMER handle states. More...
#define | __HAL_DUAL_TIMER_ENABLE(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_EN)
| Enable the specified DUAL TIMER peripheral. More...
#define | __HAL_DUAL_TIMER_DISABLE(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_EN)
| Disable the specified DUAL TIMER peripheral. More...
#define | __HAL_DUAL_TIMER_ENABLE_IT(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_INTEN)
| Enable the DUAL TIMER interrupt. More...
#define | __HAL_DUAL_TIMER_DISABLE_IT(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_INTEN)
| Disable the DUAL TIMER interrupt. More...
#define | __HAL_DUAL_TIMER_GET_FLAG_IT(__HANDLE__) ll_dual_timer_is_active_flag_it(__HANDLE__->p_instance)
| Check whether the DUAL TIMER interrupt has occurred or not. More...
#define | __HAL_DUAL_TIMER_CLEAR_FLAG_IT(__HANDLE__) ll_dual_timer_clear_flag_it(__HANDLE__->p_instance)
| Clear the DUAL TIMER interrupt flag. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __HAL_DUAL_TIMER_CLEAR_FLAG_IT

#define __HAL_DUAL_TIMER_CLEAR_FLAG_IT | ( |  | __HANDLE__ | ) | ll_dual_timer_clear_flag_it(__HANDLE__->p_instance)

Clear the DUAL TIMER interrupt flag.

Parameters

  <strong>HANDLE</strong> | Specifies the DUAL TIMER Handle.

Return values

  None. |

## ◆ __HAL_DUAL_TIMER_DISABLE

#define __HAL_DUAL_TIMER_DISABLE | ( |  | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_EN)

Disable the specified DUAL TIMER peripheral.

Parameters

  <strong>HANDLE</strong> | Specifies the DUAL TIMER Handle.

Return values

  None |

## ◆ __HAL_DUAL_TIMER_DISABLE_IT

#define __HAL_DUAL_TIMER_DISABLE_IT | ( |  | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_INTEN)

Disable the DUAL TIMER interrupt.

Parameters

  <strong>HANDLE</strong> | Specifies the DUAL TIM Handle.

Return values

  None |

## ◆ __HAL_DUAL_TIMER_ENABLE

#define __HAL_DUAL_TIMER_ENABLE | ( |  | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_EN)

Enable the specified DUAL TIMER peripheral.

Parameters

  <strong>HANDLE</strong> | Specifies the DUAL TIMER Handle.

Return values

  None |

## ◆ __HAL_DUAL_TIMER_ENABLE_IT

#define __HAL_DUAL_TIMER_ENABLE_IT | ( |  | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL, DUAL_TIMER_CTRL_INTEN)

Enable the DUAL TIMER interrupt.

Parameters

  <strong>HANDLE</strong> | Specifies the DUAL TIM Handle.

Return values

  None |

## ◆ __HAL_DUAL_TIMER_GET_FLAG_IT

#define __HAL_DUAL_TIMER_GET_FLAG_IT | ( |  | __HANDLE__ | ) | ll_dual_timer_is_active_flag_it(__HANDLE__->p_instance)

Check whether the DUAL TIMER interrupt has occurred or not.

Parameters

  <strong>HANDLE</strong> | Specifies the DUAL TIMER Handle.

Return values

  The | new state of DUAL TIMER interrupt (SET or RESET).

## ◆ __HAL_DUAL_TIMER_RESET_HANDLE_STATE

#define __HAL_DUAL_TIMER_RESET_HANDLE_STATE | ( |  | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_DUAL_TIMER_STATE_RESET)

Reset DUAL TIMER handle states.

Parameters

  <strong>HANDLE</strong> | DUAL TIMER handle.

Return values

  None |