no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stm32_uart.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef _STM32_UART_H_
34#define _STM32_UART_H_
35
36#include <stdint.h>
37#include <stdbool.h>
38#include "no_os_uart.h"
39#include "no_os_irq.h"
40#include "stm32_hal.h"
41
48 UART_HandleTypeDef *huart;
50 uint32_t timeout;
51};
52
59 UART_HandleTypeDef *huart;
61 uint32_t timeout;
66};
67
71extern const struct no_os_uart_platform_ops stm32_uart_ops;
72
73#endif
Header file of IRQ interface.
Header file of UART interface.
const struct no_os_uart_platform_ops stm32_uart_ops
STM32 platform specific UART platform ops structure.
Definition stm32_uart.c:297
Structure describing a callback to be registered.
Definition no_os_irq.h:136
Definition no_os_irq.h:117
Structure holding UART function pointers that point to the platform specific function.
Definition no_os_uart.h:143
stm32 platform specific UART descriptor
Definition stm32_uart.h:57
struct no_os_irq_ctrl_desc * nvic
Definition stm32_uart.h:63
uint32_t timeout
Definition stm32_uart.h:61
struct no_os_callback_desc rx_callback
Definition stm32_uart.h:65
UART_HandleTypeDef * huart
Definition stm32_uart.h:59
Specific initialization parameters for stm32 UART.
Definition stm32_uart.h:46
UART_HandleTypeDef * huart
Definition stm32_uart.h:48
uint32_t timeout
Definition stm32_uart.h:50