28#ifndef LIBBSP_ARM_ATSAM_SC16IS752_H
29#define LIBBSP_ARM_ATSAM_SC16IS752_H
32#include <libchip/chip.h>
34#include <dev/serial/sc16is752.h>
116int atsam_sc16is752_spi_create(
This header file is provided for backward compatiblility.
The SC16IS752 device configuration.
Definition: sc16is752.h:58
uint32_t spi_speed_hz
The SPI bus speed in Hertz.
Definition: sc16is752.h:89
const char * spi_path
The SPI bus device path.
Definition: sc16is752.h:78
uint32_t input_frequency
The input frequency in Hertz of the SC16IS752 chip. See XTAL1 and XTAL2 pins.
Definition: sc16is752.h:73
sc16is752_mode mode
The SC16IS752 mode.
Definition: sc16is752.h:67
uint32_t server_index
The index to identify the interrupt server used for interrupt processing.
Definition: sc16is752.h:101
uint8_t spi_chip_select
The SPI chip select (starts with 0, the SPI driver uses SPI_ChipSelect(1 << spi_chip_select)).
Definition: sc16is752.h:84
const char * device_path
The device file path for the new device.
Definition: sc16is752.h:62
const Pin irq_pin
The interrupt pin, e.g. { PIO_PD28, PIOD, ID_PIOD, PIO_INPUT, PIO_IT_LOW_LEVEL }.
Definition: sc16is752.h:95
The SC16IS752 device context.
Definition: sc16is752.h:45
Definition: deflate.c:114
This structure represents an interrupt server action.
Definition: intr.h:2989
This structure represents an interrupt server entry.
Definition: intr.h:3028
SC16IS752 SPI context.
Definition: sc16is752.h:194