|
DUDS
|
Distributed Update of Data from Something
|
Holds configuration data for a single chip select manager. More...
#include <PinConfiguration.hpp>
Public Types | |
| enum | MgrType { Unknown, Binary, Multiplexer, Pin, PinSet } |
| The type of chip select manager requested. More... | |
Public Member Functions | |
| SelMgr () | |
| SelMgr (const std::pair< const std::string, boost::property_tree::ptree > &item, const PinConfiguration *pinconf) | |
Public Attributes | |
| union { | |
| bool initSelHigh | |
| True for high selection state with binary manager, or for initially selected state with pin manager. More... | |
| std::uint32_t selStates | |
| Selection state bitmap for pin set manager. More... | |
| }; | |
| std::shared_ptr< ChipSelectManager > | csm |
| The select manager based on this configuration. More... | |
| std::vector< unsigned int > | pins |
| The global IDs of the pins that this select manager should use. More... | |
| std::unordered_map< std::string, unsigned int > | selNames |
| A mapping of a name for a chip select to the chip ID used by the select manager. More... | |
| MgrType | type |
| The type of chip select manager requested. More... | |
| Port * | usePort |
| The port that will provide the pins for this select manager. More... | |
Holds configuration data for a single chip select manager.
Definition at line 345 of file PinConfiguration.hpp.
The type of chip select manager requested.
| Enumerator | |
|---|---|
| Unknown | Not yet set or a bad value. |
| Binary | |
| Multiplexer | |
| Pin | Use ChipPinSelectManager. |
| PinSet | |
Definition at line 368 of file PinConfiguration.hpp.
| duds::hardware::interface::PinConfiguration::SelMgr::SelMgr | ( | ) |
Definition at line 145 of file PinConfiguration.cpp.
Referenced by duds::hardware::interface::ParseState().
| duds::hardware::interface::PinConfiguration::SelMgr::SelMgr | ( | const std::pair< const std::string, boost::property_tree::ptree > & | item, |
| const PinConfiguration * | pinconf | ||
| ) |
| union { ... } |
| std::shared_ptr<ChipSelectManager> duds::hardware::interface::PinConfiguration::SelMgr::csm |
The select manager based on this configuration.
It is created after the attachment of the DigitalPort that supplies its pins.
Definition at line 350 of file PinConfiguration.hpp.
Referenced by duds::hardware::interface::PinConfiguration::attachPort().
| bool duds::hardware::interface::PinConfiguration::SelMgr::initSelHigh |
True for high selection state with binary manager, or for initially selected state with pin manager.
No function otherwise.
Definition at line 403 of file PinConfiguration.hpp.
Referenced by duds::hardware::interface::PinConfiguration::attachPort(), and duds::hardware::interface::ParseState().
| std::vector<unsigned int> duds::hardware::interface::PinConfiguration::SelMgr::pins |
The global IDs of the pins that this select manager should use.
The pins must all come from the same port.
Definition at line 355 of file PinConfiguration.hpp.
Referenced by duds::hardware::interface::PinConfiguration::attachPort(), and duds::hardware::interface::ParseState().
| std::unordered_map<std::string, unsigned int> duds::hardware::interface::PinConfiguration::SelMgr::selNames |
A mapping of a name for a chip select to the chip ID used by the select manager.
Definition at line 360 of file PinConfiguration.hpp.
Referenced by duds::hardware::interface::PinConfiguration::attachPort(), and duds::hardware::interface::ParseState().
| std::uint32_t duds::hardware::interface::PinConfiguration::SelMgr::selStates |
Selection state bitmap for pin set manager.
Definition at line 398 of file PinConfiguration.hpp.
Referenced by duds::hardware::interface::PinConfiguration::attachPort(), and duds::hardware::interface::ParseState().
| MgrType duds::hardware::interface::PinConfiguration::SelMgr::type |
The type of chip select manager requested.
Definition at line 393 of file PinConfiguration.hpp.
Referenced by duds::hardware::interface::PinConfiguration::attachPort(), and duds::hardware::interface::ParseState().
| Port* duds::hardware::interface::PinConfiguration::SelMgr::usePort |
The port that will provide the pins for this select manager.
Definition at line 364 of file PinConfiguration.hpp.
Referenced by duds::hardware::interface::PinConfiguration::attachPort(), and duds::hardware::interface::ParseState().