REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
MetadataMemory74LVC138AD Class Reference

The 74LVC138AD is a 3-Line to 8-Line decoder/Demultiplexer. More...

#include <74LVC138AD.tpl.hpp>

Inheritance diagram for MetadataMemory74LVC138AD:
Collaboration diagram for MetadataMemory74LVC138AD:

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
 
- Public Member Functions inherited from functions::DataFunction
 DataFunction (bus::addr_t address, const SPISettings &spiSettings)
 
void begin_communication () const
 
void end_communication () const
 
- Public Member Functions inherited from functions::Function
 Function (bus::addr_t address)
 

Static Public Attributes

static const SPISettings DEFAULT_SPI_SETTINGS {4'000'000, MSBFIRST, SPI_MODE0}
 

Additional Inherited Members

- Public Attributes inherited from functions::DataFunction
const SPISettings & spi_settings
 
- Public Attributes inherited from functions::Function
const bus::addr_t address
 
- Protected Member Functions inherited from functions::DataFunction
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 Protected Member Functions inherited from functions::DataFunction
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()

MetadataMemory74LVC138AD::MetadataMemory74LVC138AD ( bus::addr_t address)
inlineexplicit

Definition at line 21 of file 74LVC138AD.tpl.hpp.

Member Function Documentation

◆ read_from_hardware()

size_t MetadataMemory74LVC138AD::read_from_hardware ( size_t byte_offset,
size_t length,
uint8_t * buffer ) const
inlineoverridevirtual

Member Data Documentation

◆ DEFAULT_SPI_SETTINGS

const SPISettings MetadataMemory74LVC138AD::DEFAULT_SPI_SETTINGS {4'000'000, MSBFIRST, SPI_MODE0}
static

Definition at line 44 of file 74LVC138AD.tpl.hpp.


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