|
REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
AD840X.cpp
Go to the documentation of this file.
29 // Since we always send 16 bits, we must send 6 "empty" bits and have the command word in the last 10 bits we
37 // We also need to consider the shifting of bits when we send the data the second time in PEDANTIC mode.
AD8402(bus::addr_t address, uint8_t alt_function_idx)
Definition AD840X.cpp:10
bool write_channel_raw(uint8_t ch, uint8_t raw)
Channel can be 0 or 1. Will return false on invalid channels.
Definition AD840X.cpp:13
DataFunction(bus::addr_t address, uint8_t alt_function_idx, const SPISettings &spiSettings)
Definition functions.cpp:24
static const SPISettings DEFAULT_SPI_SETTINGS
Definition AD840X.h:8
AD8403(bus::addr_t address, uint8_t alt_function_idx)
Definition AD840X.cpp:22
DataFunction(bus::addr_t address, uint8_t alt_function_idx, const SPISettings &spiSettings)
Definition functions.cpp:24
static const SPISettings DEFAULT_SPI_SETTINGS
Definition AD840X.h:20
bool write_channel_raw(uint8_t ch, uint8_t raw)
Channel can be beteen 0 and 3.
Definition AD840X.cpp:25
uint16_t transfer16(uint16_t data_in) const
Definition functions.cpp:81