no-OS
Classes | Enumerations | Variables
pico_uart.h File Reference

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

#include "no_os_uart.h"
#include "no_os_irq.h"
#include "hardware/uart.h"
Include dependency graph for pico_uart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pico_uart_desc
 pico platform specific UART descriptor More...
 
struct  pico_uart_init_param
 Additional UART config parameters. More...
 

Enumerations

enum  uart_tx_gp {
  UART0_TX_GP0 = 0,
  UART0_TX_GP12 = 12,
  UART0_TX_GP16 = 16,
  UART1_TX_GP4 = 4,
  UART1_TX_GP8 = 8
}
 Available GP config for UART TX. More...
 
enum  uart_rx_gp {
  UART0_RX_GP1 = 1,
  UART0_RX_GP13 = 13,
  UART0_RX_GP17 = 17,
  UART1_RX_GP5 = 5,
  UART1_RX_GP9 = 9
}
 Available GP config for UART RX. More...
 

Variables

const struct no_os_uart_platform_ops pico_uart_ops
 pico specific UART platform ops structure More...
 

Detailed Description

Header 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.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Enumeration Type Documentation

◆ uart_rx_gp

enum uart_rx_gp

Available GP config for UART RX.

Enumerator
UART0_RX_GP1 
UART0_RX_GP13 
UART0_RX_GP17 
UART1_RX_GP5 
UART1_RX_GP9 

◆ uart_tx_gp

enum uart_tx_gp

Available GP config for UART TX.

Enumerator
UART0_TX_GP0 
UART0_TX_GP12 
UART0_TX_GP16 
UART1_TX_GP4 
UART1_TX_GP8 

Variable Documentation

◆ pico_uart_ops

const struct no_os_uart_platform_ops pico_uart_ops

pico specific UART platform ops structure

pico specific UART platform ops structure