RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Fields
mpc55xx_dspi_bus_entry Struct Reference

LibI2C bus driver entry. More...

#include <dspi.h>

Data Fields

rtems_libi2c_bus_t bus
 Standard bus driver fields.
 
unsigned table_index
 Index in the bus table: mpc55xx_dspi_bus_table.
 
unsigned bus_number
 Bus number (available after rtems_libi2c_register_bus()).
 
volatile struct DSPI_tagregs
 Hardware registers.
 
bool master
 Selects SPI master or slave mode.
 
union DSPI_PUSHR_tag push_data
 Data for the Push Register.
 
mpc55xx_dspi_edma_entry edma_transmit
 eDMA entry for transmission.
 
mpc55xx_dspi_edma_entry edma_push
 eDMA entry for push data generation.
 
mpc55xx_dspi_edma_entry edma_receive
 eDMA entry for receiving.
 
uint32_t idle_char
 Idle character transmitted in read only mode.
 
uint32_t baud
 Current baud.
 

Detailed Description

LibI2C bus driver entry.

Field Documentation

◆ bus_number

unsigned mpc55xx_dspi_bus_entry::bus_number

Bus number (available after rtems_libi2c_register_bus()).

Note
You must set it in the initialization code after the bus registration.

◆ edma_push

mpc55xx_dspi_edma_entry mpc55xx_dspi_bus_entry::edma_push

eDMA entry for push data generation.

You can choose every available channel.

◆ edma_receive

mpc55xx_dspi_edma_entry mpc55xx_dspi_bus_entry::edma_receive

eDMA entry for receiving.

The channel is fixed to a particular DSPI.

◆ edma_transmit

mpc55xx_dspi_edma_entry mpc55xx_dspi_bus_entry::edma_transmit

eDMA entry for transmission.

The channel is fixed to a particular DSPI.


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