no-OS
Loading...
Searching...
No Matches
pico_uart.c File Reference

Source file of UART driver for pico. More...

#include "no_os_error.h"
#include "no_os_uart.h"
#include "no_os_lf256fifo.h"
#include "no_os_alloc.h"
#include "pico_uart.h"
#include "pico_irq.h"
#include "pico/stdlib.h"
#include "pico/stdio_uart.h"
#include "hardware/irq.h"
Include dependency graph for pico_uart.c:

Functions

void uart_rx_callback (void *context)
 UART RX callback handler.
 

Variables

const struct no_os_uart_platform_ops pico_uart_ops
 pico platform specific UART platform ops structure
 

Detailed Description

Source file of UART driver for pico.

Author
RBolboac (ramon.nosp@m.a.bo.nosp@m.lboac.nosp@m.a@an.nosp@m.alog..nosp@m.com)

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ uart_rx_callback()

void uart_rx_callback ( void * context)

UART RX callback handler.

Parameters
context- Callback context, cntains uart descriptor.

Variable Documentation

◆ pico_uart_ops

const struct no_os_uart_platform_ops pico_uart_ops
Initial value:
= {
.init = &pico_uart_init,
.read = &pico_uart_read,
.write = &pico_uart_write,
.remove = &pico_uart_remove
}

pico platform specific UART platform ops structure

pico specific UART platform ops structure