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

  __HANDLE__ | Specifies the DUAL TIMER Handle.

Return values

  None. |

Definition at line 288 of file hal_dual_tim.h.

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

  __HANDLE__ | Specifies the DUAL TIMER Handle.

Return values

  None |

Definition at line 264 of file hal_dual_tim.h.

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

  __HANDLE__ | Specifies the DUAL TIM Handle.

Return values

  None |

Definition at line 276 of file hal_dual_tim.h.

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

  __HANDLE__ | Specifies the DUAL TIMER Handle.

Return values

  None |

Definition at line 258 of file hal_dual_tim.h.

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

  __HANDLE__ | Specifies the DUAL TIM Handle.

Return values

  None |

Definition at line 270 of file hal_dual_tim.h.

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

  __HANDLE__ | Specifies the DUAL TIMER Handle.

Return values

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

Definition at line 282 of file hal_dual_tim.h.

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

  __HANDLE__ | DUAL TIMER handle.

Return values

  None |

Definition at line 252 of file hal_dual_tim.h.