RTEMS: sc16is752_spi_context Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
sc16is752_spi_context Struct Reference

SC16IS752 SPI context. More...

`#include <sc16is752.h>`

## Data Fields
sc16is752_context | base
int | fd
| The SPI bus device file descriptor.
uint8_t | cs
| The SPI device chip select.
uint32_t | speed_hz
| The SPI bus speed in Hertz.
const char * | spi_path
| The SPI bus device path.

## Detailed Description

SC16IS752 SPI context.

## Field Documentation

## ◆ cs

uint8_t sc16is752_spi_context::cs

The SPI device chip select.

Must be initialized by the user before the call to sc16is752_spi_create().

## ◆ fd

int sc16is752_spi_context::fd

The SPI bus device file descriptor.

Internal variable.

## ◆ speed_hz

uint32_t sc16is752_spi_context::speed_hz

The SPI bus speed in Hertz.

Must be initialized by the user before the call to sc16is752_spi_create().

## ◆ spi_path

const char* sc16is752_spi_context::spi_path

The SPI bus device path.

Must be initialized by the user before the call to sc16is752_spi_create().

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

- cpukit/include/dev/serial/sc16is752.h