Classes | Typedefs | Functions | Variables
lpuart_adapter.c File Reference
#include "fsl_common.h"
#include "fsl_lpuart.h"
#include "uart.h"
Include dependency graph for lpuart_adapter.c:

Go to the source code of this file.

Classes

struct  _hal_uart_state
 uart state structure. More...
 

Typedefs

typedef struct _hal_uart_state hal_uart_state_t
 uart state structure. More...
 

Functions

hal_uart_status_t HAL_UartDeinit (hal_uart_handle_t handle)
 Deinitializes a UART instance. More...
 
hal_uart_status_t HAL_UartEnterLowpower (hal_uart_handle_t handle)
 Prepares to enter low power consumption. More...
 
hal_uart_status_t HAL_UartExitLowpower (hal_uart_handle_t handle)
 Restores from low power consumption. More...
 
static hal_uart_status_t HAL_UartGetStatus (status_t status)
 
hal_uart_status_t HAL_UartInit (hal_uart_handle_t handle, hal_uart_config_t *config)
 Initializes a UART instance with the UART handle and the user configuration structure. More...
 
hal_uart_status_t HAL_UartReceiveBlocking (hal_uart_handle_t handle, uint8_t *data, size_t length)
 Reads RX data register using a blocking method. More...
 
hal_uart_status_t HAL_UartSendBlocking (hal_uart_handle_t handle, const uint8_t *data, size_t length)
 Writes to the TX register using a blocking method. More...
 

Variables

static LPUART_Type *const s_LpuartAdapterBase [] = LPUART_BASE_PTRS
 

Typedef Documentation

◆ hal_uart_state_t

uart state structure.

Function Documentation

◆ HAL_UartGetStatus()

static hal_uart_status_t HAL_UartGetStatus ( status_t  status)
static

Definition at line 126 of file lpuart_adapter.c.

Variable Documentation

◆ s_LpuartAdapterBase

LPUART_Type* const s_LpuartAdapterBase[] = LPUART_BASE_PTRS
static

Definition at line 66 of file lpuart_adapter.c.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:57