blob: 6f87492608d93f3cea1d63308ae7044440f4b6a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
typedef enum {
HAL_USART_ENABLED = 64, ///< Requested task impossible while
///< peripheral in question is
///< enabled
HAL_USART_DISABLED, ///< Requested task impossible while
///< peripheral in question is
///< disabled
HAL_USART_GPIO_ERROR, ///< GPIO tied with USART peripheral
///< returned error state
HAL_USART_BUFFER_DEPLETED, ///< Not enough data to be read
HAL_USART_BUFFER_FULL ///< Data requested to be written
///< didn't fit into buffer
} hal_usart_errors_t;
|