no-OS
Public Attributes | List of all members
no_os_uart_platform_ops Struct Reference

Structure holding UART function pointers that point to the platform specific function. More...

#include <no_os_uart.h>

Public Attributes

int32_t(* init )(struct no_os_uart_desc **, struct no_os_uart_init_param *)
 
int32_t(* read )(struct no_os_uart_desc *, uint8_t *, uint32_t)
 
int32_t(* write )(struct no_os_uart_desc *, const uint8_t *, uint32_t)
 
int32_t(* read_nonblocking )(struct no_os_uart_desc *, uint8_t *, uint32_t)
 
int32_t(* write_nonblocking )(struct no_os_uart_desc *, const uint8_t *, uint32_t)
 
int32_t(* remove )(struct no_os_uart_desc *)
 
uint32_t(* get_errors )(struct no_os_uart_desc *)
 

Detailed Description

Structure holding UART function pointers that point to the platform specific function.

Member Data Documentation

◆ get_errors

uint32_t(* no_os_uart_platform_ops::get_errors) (struct no_os_uart_desc *)

UART get errors function pointer

◆ init

int32_t(* no_os_uart_platform_ops::init) (struct no_os_uart_desc **, struct no_os_uart_init_param *)

UART initialization function pointer

◆ read

int32_t(* no_os_uart_platform_ops::read) (struct no_os_uart_desc *, uint8_t *, uint32_t)

UART read function pointer

◆ read_nonblocking

int32_t(* no_os_uart_platform_ops::read_nonblocking) (struct no_os_uart_desc *, uint8_t *, uint32_t)

UART read non-blocking function pointer

◆ remove

int32_t(* no_os_uart_platform_ops::remove) (struct no_os_uart_desc *)

UART remove function pointer

◆ write

int32_t(* no_os_uart_platform_ops::write) (struct no_os_uart_desc *, const uint8_t *, uint32_t)

UART write function pointer

◆ write_nonblocking

int32_t(* no_os_uart_platform_ops::write_nonblocking) (struct no_os_uart_desc *, const uint8_t *, uint32_t)

UART wrote non-blocking function pointer


The documentation for this struct was generated from the following file: