Functions
IT_Management
Peripheral Driver » LL Driver » UART » Functions

## Functions
__STATIC_INLINE void | ll_uart_enabled_it_ms (uart_regs_t *UARTx)
| Enable Modem Status Interrupt. More...
__STATIC_INLINE void | ll_uart_enable_it_rls (uart_regs_t *UARTx)
| Enable Receiver Line Status Interrupt. More...
__STATIC_INLINE void | ll_uart_enable_it_thre (uart_regs_t *UARTx)
| Enable Transmit Holding Register Empty Interrupt. More...
__STATIC_INLINE void | ll_uart_enable_it_rda (uart_regs_t *UARTx)
| Enable Received Data Available Interrupt and Character Timeout Interrupt. More...
__STATIC_INLINE void | ll_uart_disable_it_ms (uart_regs_t *UARTx)
| Disable Modem Status Interrupt. More...
__STATIC_INLINE void | ll_uart_disable_it_rls (uart_regs_t *UARTx)
| Disable Receiver Line Status Interrupt. More...
__STATIC_INLINE void | ll_uart_disable_it_thre (uart_regs_t *UARTx)
| Disable Transmit Holding Register Empty Interrupt. More...
__STATIC_INLINE void | ll_uart_disable_it_rda (uart_regs_t *UARTx)
| Disable Received Data Available Interrupt and Character Timeout Interrupt. More...
__STATIC_INLINE uint32_t | ll_uart_is_enabled_it_ms (uart_regs_t *UARTx)
| Check if the UART Modem Status Interrupt is enabled or disabled. More...
__STATIC_INLINE uint32_t | ll_uart_is_enabled_it_rls (uart_regs_t *UARTx)
| Check if the UART Receiver Line Status Interrupt is enabled or disabled. More...
__STATIC_INLINE uint32_t | ll_uart_is_enabled_it_thre (uart_regs_t *UARTx)
| Check if the UART Transmit Holding Register Empty Interrupt is enabled or disabled. More...
__STATIC_INLINE uint32_t | ll_uart_is_enabled_it_rda (uart_regs_t *UARTx)
| Check if the UART Received Data Available Interrupt and Character Timeout Interrupt is enabled or disabled. More...
__STATIC_INLINE void | ll_uart_enable_it (uart_regs_t *UARTx, uint32_t mask)
| Enable the specified UART Interrupt. More...
__STATIC_INLINE void | ll_uart_disable_it (uart_regs_t *UARTx, uint32_t mask)
| Disable the specified UART Interrupt. More...
__STATIC_INLINE uint32_t | ll_uart_is_enabled_it (uart_regs_t *UARTx, uint32_t mask)
| Check if the specified UART Interrupt is enabled or disabled. More...

## Detailed Description

## Function Documentation

## ◆ ll_uart_disable_it()

__STATIC_INLINE void ll_uart_disable_it | ( | uart_regs_t * | UARTx,
|  | uint32_t | mask
| ) |  |

Disable the specified UART Interrupt.

Register|BitsName --------|-------- IER | EDSSI IER | ERLS IER | PTIME IER | ETBEI IER | ERBFI

Parameters

  UARTx | UART instance
  mask | This parameter can be a combination of the following values: LL_UART_IER_MS LL_UART_IER_RLS LL_UART_IER_THRE LL_UART_IER_RDA

Return values

  None |

Definition at line 1200 of file ll_uart.h.

## ◆ ll_uart_disable_it_ms()

__STATIC_INLINE void ll_uart_disable_it_ms | ( | uart_regs_t * | UARTx | ) |

Disable Modem Status Interrupt.

Register|BitsName --------|-------- IER | EDSSI

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 1044 of file ll_uart.h.

## ◆ ll_uart_disable_it_rda()

__STATIC_INLINE void ll_uart_disable_it_rda | ( | uart_regs_t * | UARTx | ) |

Disable Received Data Available Interrupt and Character Timeout Interrupt.

Register|BitsName --------|-------- IER | ERBFI

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 1090 of file ll_uart.h.

## ◆ ll_uart_disable_it_rls()

__STATIC_INLINE void ll_uart_disable_it_rls | ( | uart_regs_t * | UARTx | ) |

Disable Receiver Line Status Interrupt.

Register|BitsName --------|-------- IER | RLS

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 1059 of file ll_uart.h.

## ◆ ll_uart_disable_it_thre()

__STATIC_INLINE void ll_uart_disable_it_thre | ( | uart_regs_t * | UARTx | ) |

Disable Transmit Holding Register Empty Interrupt.

Register|BitsName --------|-------- IER | PTIME IER | ETBEI

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 1075 of file ll_uart.h.

## ◆ ll_uart_enable_it()

__STATIC_INLINE void ll_uart_enable_it | ( | uart_regs_t * | UARTx,
|  | uint32_t | mask
| ) |  |

Enable the specified UART Interrupt.

Register|BitsName --------|-------- IER | EDSSI IER | ERLS IER | PTIME IER | ETBEI IER | ERBFI

Parameters

  UARTx | UART instance
  mask | This parameter can be a combination of the following values: LL_UART_IER_MS LL_UART_IER_RLS LL_UART_IER_THRE LL_UART_IER_RDA

Return values

  None |

Definition at line 1176 of file ll_uart.h.

## ◆ ll_uart_enable_it_rda()

__STATIC_INLINE void ll_uart_enable_it_rda | ( | uart_regs_t * | UARTx | ) |

Enable Received Data Available Interrupt and Character Timeout Interrupt.

Register|BitsName --------|-------- IER | ERBFI

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 1029 of file ll_uart.h.

## ◆ ll_uart_enable_it_rls()

__STATIC_INLINE void ll_uart_enable_it_rls | ( | uart_regs_t * | UARTx | ) |

Enable Receiver Line Status Interrupt.

Register|BitsName --------|-------- IER | RLS

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 998 of file ll_uart.h.

## ◆ ll_uart_enable_it_thre()

__STATIC_INLINE void ll_uart_enable_it_thre | ( | uart_regs_t * | UARTx | ) |

Enable Transmit Holding Register Empty Interrupt.

Register|BitsName --------|-------- IER | PTIME IER | ETBEI

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 1014 of file ll_uart.h.

## ◆ ll_uart_enabled_it_ms()

__STATIC_INLINE void ll_uart_enabled_it_ms | ( | uart_regs_t * | UARTx | ) |

Enable Modem Status Interrupt.

Register|BitsName --------|-------- IER | EDSSI

Parameters

  UARTx | UART instance

Return values

  None |

Definition at line 983 of file ll_uart.h.

## ◆ ll_uart_is_enabled_it()

__STATIC_INLINE uint32_t ll_uart_is_enabled_it | ( | uart_regs_t * | UARTx,
|  | uint32_t | mask
| ) |  |

Check if the specified UART Interrupt is enabled or disabled.

Register|BitsName --------|-------- IER | EDSSI IER | ERLS IER | PTIME IER | ETBEI IER | ERBFI

Parameters

  UARTx | UART instance
  mask | This parameter can be a combination of the following values: LL_UART_IER_MS LL_UART_IER_RLS LL_UART_IER_THRE LL_UART_IER_RDA

Return values

  State | of bit (1 or 0).

Definition at line 1224 of file ll_uart.h.

## ◆ ll_uart_is_enabled_it_ms()

__STATIC_INLINE uint32_t ll_uart_is_enabled_it_ms | ( | uart_regs_t * | UARTx | ) |

Check if the UART Modem Status Interrupt is enabled or disabled.

Register|BitsName --------|-------- IER | EDSSI

Parameters

  UARTx | UART instance

Return values

  State | of bit (1 or 0).

Definition at line 1105 of file ll_uart.h.

## ◆ ll_uart_is_enabled_it_rda()

__STATIC_INLINE uint32_t ll_uart_is_enabled_it_rda | ( | uart_regs_t * | UARTx | ) |

Check if the UART Received Data Available Interrupt and Character Timeout Interrupt is enabled or disabled.

Register|BitsName --------|-------- IER | ERBFI

Parameters

  UARTx | UART instance

Return values

  State | of bit (1 or 0).

Definition at line 1152 of file ll_uart.h.

## ◆ ll_uart_is_enabled_it_rls()

__STATIC_INLINE uint32_t ll_uart_is_enabled_it_rls | ( | uart_regs_t * | UARTx | ) |

Check if the UART Receiver Line Status Interrupt is enabled or disabled.

Register|BitsName --------|-------- IER | RLS

Parameters

  UARTx | UART instance

Return values

  State | of bit (1 or 0).

Definition at line 1120 of file ll_uart.h.

## ◆ ll_uart_is_enabled_it_thre()

__STATIC_INLINE uint32_t ll_uart_is_enabled_it_thre | ( | uart_regs_t * | UARTx | ) |

Check if the UART Transmit Holding Register Empty Interrupt is enabled or disabled.

Register|BitsName --------|-------- IER | PTIME IER | ETBEI

Parameters

  UARTx | UART instance

Return values

  State | of bit (1 or 0).

Definition at line 1136 of file ll_uart.h.