Macros
ISO7816 Exported Macros
Peripheral Driver » HAL Driver » ISO7816 » Defines

## Macros
#define | __HAL_ISO7816_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BITS((__HANDLE__)->p_instance->INT_MASK, (__INTERRUPT__))
| Enable the specified ISO7816 interrupts. More...
#define | __HAL_ISO7816_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BITS((__HANDLE__)->p_instance->INT_MASK, (__INTERRUPT__))
| Disable the specified ISO7816 interrupts. More...
#define | __HAL_ISO7816_IT_GET_IT_FLAG(__ISO7816_REGS) ll_iso7816_get_it_flag(__ISO7816_REGS)
| Get the ISO7816 interrupt flags. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __HAL_ISO7816_DISABLE_IT

#define __HAL_ISO7816_DISABLE_IT | ( |  | __HANDLE__,
|  |  | __INTERRUPT__
| ) |  | CLEAR_BITS((__HANDLE__)->p_instance->INT_MASK, (__INTERRUPT__))

Disable the specified ISO7816 interrupts.

Parameters

  <strong>HANDLE</strong> | Specifies the ISO7816 handle.
  <strong>INTERRUPT</strong> | Specifies the interrupt source to disable. This parameter can be one of the following values: HAL_ISO7816_INTR_TEST Test interrupt HAL_ISO7816_INTR_PRESENCE Presence interrupt HAL_ISO7816_INTR_STATE_ERR State error interrupt HAL_ISO7816_INTR_DMA_ERR DMA error interrupt HAL_ISO7816_INTR_RETRY_ERR Retry error interrupt HAL_ISO7816_INTR_RX_ERR Rx error interrupt HAL_ISO7816_INTR_DONE Done error interrupt

Return values

  None |

## ◆ __HAL_ISO7816_ENABLE_IT

#define __HAL_ISO7816_ENABLE_IT | ( |  | __HANDLE__,
|  |  | __INTERRUPT__
| ) |  | SET_BITS((__HANDLE__)->p_instance->INT_MASK, (__INTERRUPT__))

Enable the specified ISO7816 interrupts.

Parameters

  <strong>HANDLE</strong> | Specifies the ISO7816 Handle.
  <strong>INTERRUPT</strong> | Specifies the interrupt source to enable. This parameter can be one of the following values: HAL_ISO7816_INTR_TEST Test interrupt HAL_ISO7816_INTR_PRESENCE Presence interrupt HAL_ISO7816_INTR_STATE_ERR State error interrupt HAL_ISO7816_INTR_DMA_ERR DMA error interrupt HAL_ISO7816_INTR_RETRY_ERR Retry error interrupt HAL_ISO7816_INTR_RX_ERR Rx error interrupt HAL_ISO7816_INTR_DONE Done error interrupt

Return values

  None |

## ◆ __HAL_ISO7816_IT_GET_IT_FLAG

#define __HAL_ISO7816_IT_GET_IT_FLAG | ( |  | __ISO7816_REGS | ) | ll_iso7816_get_it_flag(__ISO7816_REGS)

Get the ISO7816 interrupt flags.

Parameters

  __ISO7816_REGS | ISO7816 Register.

Return values

  ISO78116 | Interrupt definitions.