APM:Libraries
Public Member Functions | Public Attributes | List of all members
PX4::SPIDesc Struct Reference

#include <SPIDevice.h>

Public Member Functions

 SPIDesc (const char *_name, uint8_t _bus, enum spi_dev_e _device, enum spi_mode_e _mode, uint32_t _lowspeed, uint32_t _highspeed)
 

Public Attributes

const char * name
 
uint8_t bus
 
enum spi_dev_e device
 
enum spi_mode_e mode
 
uint32_t lowspeed
 
uint32_t highspeed
 

Detailed Description

Definition at line 37 of file SPIDevice.h.

Constructor & Destructor Documentation

◆ SPIDesc()

PX4::SPIDesc::SPIDesc ( const char *  _name,
uint8_t  _bus,
enum spi_dev_e  _device,
enum spi_mode_e  _mode,
uint32_t  _lowspeed,
uint32_t  _highspeed 
)
inline

Definition at line 38 of file SPIDevice.h.

Member Data Documentation

◆ bus

uint8_t PX4::SPIDesc::bus

Definition at line 47 of file SPIDevice.h.

◆ device

enum spi_dev_e PX4::SPIDesc::device

◆ highspeed

uint32_t PX4::SPIDesc::highspeed

Definition at line 51 of file SPIDevice.h.

Referenced by PX4::SPIDevice::set_speed().

◆ lowspeed

uint32_t PX4::SPIDesc::lowspeed

Definition at line 50 of file SPIDevice.h.

Referenced by PX4::SPIDevice::set_speed().

◆ mode

enum spi_mode_e PX4::SPIDesc::mode

Definition at line 49 of file SPIDevice.h.

Referenced by PX4::SPIDevice::do_transfer(), and PX4::SPIDevice::SPIDevice().

◆ name

const char* PX4::SPIDesc::name

Definition at line 46 of file SPIDevice.h.

Referenced by PX4::SPIDevice::SPIDevice(), and PX4::SPIDevice::~SPIDevice().


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