|
| | Fpga_spidev ()=default |
| | Default constructor.
|
| | ~Fpga_spidev ()=default |
| | Default destructor.
|
| int | write_reg32 (char addr, uint32_t data) |
| | write a register through the SPI.
|
| int | read_reg32 (uint8_t addr, uint32_t *copy_to) |
| | read a register through the SPI.
|
| int | SPI_open (std::string spi_device_name) |
| | Open the SPI device driver.
|
| int | SPI_close (void) const |
| | Close the SPI device driver.
|
Definition at line 22 of file fpga_spidev.h.
◆ Fpga_spidev()
| Fpga_spidev::Fpga_spidev |
( |
| ) |
|
|
default |
◆ ~Fpga_spidev()
| Fpga_spidev::~Fpga_spidev |
( |
| ) |
|
|
default |
◆ read_reg32()
| int Fpga_spidev::read_reg32 |
( |
uint8_t | addr, |
|
|
uint32_t * | copy_to ) |
read a register through the SPI.
◆ SPI_close()
| int Fpga_spidev::SPI_close |
( |
void | | ) |
const |
Close the SPI device driver.
◆ SPI_open()
| int Fpga_spidev::SPI_open |
( |
std::string | spi_device_name | ) |
|
Open the SPI device driver.
◆ write_reg32()
| int Fpga_spidev::write_reg32 |
( |
char | addr, |
|
|
uint32_t | data ) |
write a register through the SPI.
The documentation for this class was generated from the following file: