DUDS
Distributed Update of Data from Something
duds::hardware::interface::PinConfiguration::ChipSel Struct Reference

Holds configuration data for a single chip select. More...

#include <PinConfiguration.hpp>

Collaboration diagram for duds::hardware::interface::PinConfiguration::ChipSel:

Public Member Functions

 ChipSel ()=default
 
 ChipSel (SelMgr *m, int id)
 

Public Attributes

int chipId
 The chip ID that is selected by this chip select. More...
 
SelMgrmgr
 The chip select manager configuration for this object. More...
 
ChipSelect sel
 The chip select object for this configuration. More...
 

Detailed Description

Holds configuration data for a single chip select.

Definition at line 415 of file PinConfiguration.hpp.

Constructor & Destructor Documentation

◆ ChipSel() [1/2]

duds::hardware::interface::PinConfiguration::ChipSel::ChipSel ( )
default

◆ ChipSel() [2/2]

duds::hardware::interface::PinConfiguration::ChipSel::ChipSel ( SelMgr m,
int  id 
)

Definition at line 338 of file PinConfiguration.cpp.

Member Data Documentation

◆ chipId

int duds::hardware::interface::PinConfiguration::ChipSel::chipId

The chip ID that is selected by this chip select.

IDs are only unique within a single manager.

Definition at line 429 of file PinConfiguration.hpp.

Referenced by duds::hardware::interface::PinConfiguration::attachPort().

◆ mgr

SelMgr* duds::hardware::interface::PinConfiguration::ChipSel::mgr

The chip select manager configuration for this object.

Definition at line 424 of file PinConfiguration.hpp.

Referenced by duds::hardware::interface::PinConfiguration::attachPort().

◆ sel

ChipSelect duds::hardware::interface::PinConfiguration::ChipSel::sel

The chip select object for this configuration.

It is configured after the attachment of the DigitalPort used by the chip select's manager.

Definition at line 420 of file PinConfiguration.hpp.

Referenced by duds::hardware::interface::PinConfiguration::attachPort().


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