REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
The 74LVC138AD is a 3-Line to 8-Line decoder/Demultiplexer. More...
#include <74LVC138AD.tpl.hpp>


Public Member Functions | |
MetadataMemory74LVC138AD (bus::addr_t address) | |
size_t | read_from_hardware (size_t byte_offset, size_t length, uint8_t *buffer) const override |
![]() | |
MetadataMemory (const unsigned short address, const SPISettings &spi_settings) | |
size_t | read_from_hardware () |
const Layout_ & | as () const |
![]() | |
DataFunction (bus::addr_t address, const SPISettings &spiSettings) | |
void | begin_communication () const |
void | end_communication () const |
![]() | |
Function (bus::addr_t address) | |
Static Public Attributes | |
static const SPISettings | DEFAULT_SPI_SETTINGS {4'000'000, MSBFIRST, SPI_MODE0} |
Additional Inherited Members | |
![]() | |
const SPISettings & | spi_settings |
![]() | |
const bus::addr_t | address |
![]() | |
void | transfer (const void *mosi_buf, void *miso_buf, size_t count) const |
uint8_t | transfer8 (uint8_t data_in) const |
uint16_t | transfer16 (uint16_t data_in) const |
uint32_t | transfer32 (uint32_t data_in) const |
![]() | |
static SPIClass & | get_raw_spi () |
Detailed Description
The 74LVC138AD is a 3-Line to 8-Line decoder/Demultiplexer.
Actually this class provides access to the 25AA02E64 2K SPI Bus Serial EEPROM with EUI-64 Node Identity, holding 2048 bits = 256 bytes of meta data and identification material (see also Deliverable D3.2 section 3.1). This is represented by the the MetadataMemory<256> base class.
Definition at line 17 of file 74LVC138AD.tpl.hpp.
Constructor & Destructor Documentation
◆ MetadataMemory74LVC138AD()
|
inlineexplicit |
Definition at line 21 of file 74LVC138AD.tpl.hpp.
Member Function Documentation
◆ read_from_hardware()
|
inlineoverridevirtual |
Implements metadata::MetadataMemory< 256 >.
Definition at line 26 of file 74LVC138AD.tpl.hpp.
References functions::DataFunction::begin_communication(), functions::DataFunction::end_communication(), and bus::spi.
Member Data Documentation
◆ DEFAULT_SPI_SETTINGS
|
static |
Definition at line 44 of file 74LVC138AD.tpl.hpp.
The documentation for this class was generated from the following file:
- lib/hardware/src/metadata/74LVC138AD.tpl.hpp