|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Header file of UART HAL Extended module. More...
#include "stm32h7xx_hal_def.h"Go to the source code of this file.
Classes | |
| struct | UART_WakeUpTypeDef |
| UART wake up from stop mode parameters. More... | |
Macros | |
| #define | UART_WORDLENGTH_7B USART_CR1_M1 |
| 7-bit long UART frame | |
| #define | UART_WORDLENGTH_8B 0x00000000U |
| 8-bit long UART frame | |
| #define | UART_WORDLENGTH_9B USART_CR1_M0 |
| 9-bit long UART frame | |
| #define | UART_ADDRESS_DETECT_4B 0x00000000U |
| 4-bit long wake-up address | |
| #define | UART_ADDRESS_DETECT_7B USART_CR2_ADDM7 |
| 7-bit long wake-up address | |
| #define | UART_FIFOMODE_DISABLE 0x00000000U |
| FIFO mode disable. | |
| #define | UART_FIFOMODE_ENABLE USART_CR1_FIFOEN |
| FIFO mode enable. | |
| #define | UART_TXFIFO_THRESHOLD_1_8 0x00000000U |
| TX FIFO reaches 1/8 of its depth. | |
| #define | UART_TXFIFO_THRESHOLD_1_4 USART_CR3_TXFTCFG_0 |
| TX FIFO reaches 1/4 of its depth. | |
| #define | UART_TXFIFO_THRESHOLD_1_2 USART_CR3_TXFTCFG_1 |
| TX FIFO reaches 1/2 of its depth. | |
| #define | UART_TXFIFO_THRESHOLD_3_4 (USART_CR3_TXFTCFG_0|USART_CR3_TXFTCFG_1) |
| TX FIFO reaches 3/4 of its depth. | |
| #define | UART_TXFIFO_THRESHOLD_7_8 USART_CR3_TXFTCFG_2 |
| TX FIFO reaches 7/8 of its depth. | |
| #define | UART_TXFIFO_THRESHOLD_8_8 (USART_CR3_TXFTCFG_2|USART_CR3_TXFTCFG_0) |
| TX FIFO becomes empty. | |
| #define | UART_RXFIFO_THRESHOLD_1_8 0x00000000U |
| RX FIFO reaches 1/8 of its depth. | |
| #define | UART_RXFIFO_THRESHOLD_1_4 USART_CR3_RXFTCFG_0 |
| RX FIFO reaches 1/4 of its depth. | |
| #define | UART_RXFIFO_THRESHOLD_1_2 USART_CR3_RXFTCFG_1 |
| RX FIFO reaches 1/2 of its depth. | |
| #define | UART_RXFIFO_THRESHOLD_3_4 (USART_CR3_RXFTCFG_0|USART_CR3_RXFTCFG_1) |
| RX FIFO reaches 3/4 of its depth. | |
| #define | UART_RXFIFO_THRESHOLD_7_8 USART_CR3_RXFTCFG_2 |
| RX FIFO reaches 7/8 of its depth. | |
| #define | UART_RXFIFO_THRESHOLD_8_8 (USART_CR3_RXFTCFG_2|USART_CR3_RXFTCFG_0) |
| RX FIFO becomes full. | |
| #define | UART_GETCLOCKSOURCE(__HANDLE__, __CLOCKSOURCE__) |
| Report the UART clock source. | |
| #define | UART_MASK_COMPUTATION(__HANDLE__) |
| Report the UART mask to apply to retrieve the received data according to the word length and to the parity bits activation. | |
| #define | IS_UART_WORD_LENGTH(__LENGTH__) |
| Ensure that UART frame length is valid. | |
| #define | IS_UART_ADDRESSLENGTH_DETECT(__ADDRESS__) |
| Ensure that UART wake-up address length is valid. | |
| #define | IS_UART_TXFIFO_THRESHOLD(__THRESHOLD__) |
| Ensure that UART TXFIFO threshold level is valid. | |
| #define | IS_UART_RXFIFO_THRESHOLD(__THRESHOLD__) |
| Ensure that UART RXFIFO threshold level is valid. | |
Header file of UART HAL Extended module.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32h7xx_hal_uart_ex.h.