|
NSVD Reader
0.0.1
|
normalized peripheral element More...
#include <node_container.hpp>
Public Types | |
| using | this_t = Peripheral< STRREF > |
| using | p_ptr = parent_ptr< Device< STRREF > > |
| using | Register = ::nodamushi::svd::normalized::Register< STRREF > |
| using | Cluster = ::nodamushi::svd::normalized::Cluster< STRREF > |
| using | Interrupt = ::nodamushi::svd::normalized::Interrupt< STRREF > |
| using | Field = ::nodamushi::svd::normalized::Field< STRREF > |
Public Member Functions | |
| template<typename STR > | |
| node_ptr< void > | find (::nodamushi::svd::path< STR > &p, size_t pindex=0) |
| find path element More... | |
| template<typename STR > | |
| node_ptr< Cluster > | find_cluster (::nodamushi::svd::path< STR > &p, size_t pindex=0) |
| find cluster element More... | |
| template<typename STR > | |
| node_ptr< Register > | find_register (::nodamushi::svd::path< STR > &p, size_t pindex=0) |
| find register element More... | |
| template<typename STR > | |
| node_ptr< Field > | find_field (::nodamushi::svd::path< STR > &p, size_t pindex=0) |
| find field element More... | |
| bool | has_register_name_appendix () const noexcept |
| prependToName or appendToName is not empty More... | |
| auto | get_parent () const noexcept |
| get parent Device pointer More... | |
| auto | get_parent () noexcept |
| get parent Device pointer More... | |
| uint64_t | get_address () const |
| get baseAddress More... | |
| uint32_t | get_size () const |
| resolve the value of size and return it. More... | |
| uint64_t | get_resetValue () const |
| resolve the value of resetValue and return it. More... | |
| uint64_t | get_resetMask () const |
| resolve the value of resetMask and return it. More... | |
| Access | get_access () const |
| resolve the value of access and return it. More... | |
| Protection | get_protection () const |
| resolve the value of protection and return it. More... | |
| ::nodamushi::svd::path | get_path () const |
| get path More... | |
| template<typename T > | |
| Peripheral (const T &n) | |
| constexpr void * | get_parent2 () const noexcept |
| always return nullptr More... | |
| void | update_parent (p_ptr &new_parent, node_ptr< this_t > &me) |
Public Attributes | |
| path< STRREF > | derivedFrom |
| derivedFrom attribute More... | |
| std::string | name |
| <name> More... | |
| dim_info | dim |
| dimemsion information object. More... | |
| STRREF | version |
| <version> More... | |
| STRREF | description |
| <description> More... | |
| STRREF | alternatePeripheral |
| <alternatePeripheral> More... | |
| STRREF | groupName |
| <groupName> More... | |
| STRREF | prependToName |
| <prependToName> More... | |
| STRREF | appendToName |
| <appendToName> More... | |
| STRREF | headerStructName |
| <headerStructName> More... | |
| STRREF | disableCondition |
| <disableCondition> More... | |
| uint64_t | baseAddress |
| base address More... | |
| nullable< uint32_t > | size |
| <size> More... | |
| nullable< Access > | access |
| <access> More... | |
| nullable< Protection > | protection |
| <protection> More... | |
| nullable< uint64_t > | resetValue |
| <resetValue> More... | |
| nullable< uint64_t > | resetMask |
| <resetMask> More... | |
| std::vector< AddressBlock > | addressBlock |
| <addressBlock> emenents More... | |
| std::vector< Interrupt > | interrupt |
| <interrupt> elements. More... | |
| list< Cluster > | clusters |
| <cluster> elements list.This list is sorted by the addressOffset. More... | |
| list< Register > | registers |
| <register> elements list.This list is sorted by the addressOffset. More... | |
normalized peripheral element
Definition at line 49 of file node_container.hpp.
| using nodamushi::svd::normalized::Peripheral< STRREF >::Cluster = ::nodamushi::svd::normalized::Cluster<STRREF> |
Definition at line 40 of file Peripheral.hpp.
| using nodamushi::svd::normalized::Peripheral< STRREF >::Field = ::nodamushi::svd::normalized::Field<STRREF> |
Definition at line 42 of file Peripheral.hpp.
| using nodamushi::svd::normalized::Peripheral< STRREF >::Interrupt = ::nodamushi::svd::normalized::Interrupt<STRREF> |
Definition at line 41 of file Peripheral.hpp.
| using nodamushi::svd::normalized::Peripheral< STRREF >::p_ptr = parent_ptr<Device<STRREF> > |
Definition at line 38 of file Peripheral.hpp.
| using nodamushi::svd::normalized::Peripheral< STRREF >::Register = ::nodamushi::svd::normalized::Register<STRREF> |
Definition at line 39 of file Peripheral.hpp.
| using nodamushi::svd::normalized::Peripheral< STRREF >::this_t = Peripheral<STRREF> |
Definition at line 37 of file Peripheral.hpp.
|
inline |
Definition at line 269 of file Peripheral.hpp.
|
inline |
find path element
| p | path |
| pindex | the first index of serach path. default is 0. |
Definition at line 146 of file Peripheral.hpp.
|
inline |
find cluster element
| p | path |
| pindex | the first index of serach path. default is 0. |
Definition at line 169 of file Peripheral.hpp.
|
inline |
find field element
| p | path |
| pindex | the first index of serach path. default is 0. |
Definition at line 209 of file Peripheral.hpp.
|
inline |
find register element
| p | path |
| pindex | the first index of serach path. default is 0. |
Definition at line 188 of file Peripheral.hpp.
|
inline |
resolve the value of access and return it.
Definition at line 253 of file Peripheral.hpp.
|
inline |
get baseAddress
Definition at line 239 of file Peripheral.hpp.
|
inlinenoexcept |
get parent Device pointer
Definition at line 235 of file Peripheral.hpp.
|
inlinenoexcept |
get parent Device pointer
Definition at line 237 of file Peripheral.hpp.
|
inlinenoexcept |
always return nullptr
Definition at line 366 of file Peripheral.hpp.
|
inline |
get path
Definition at line 260 of file Peripheral.hpp.
|
inline |
resolve the value of protection and return it.
Definition at line 257 of file Peripheral.hpp.
|
inline |
resolve the value of resetMask and return it.
Definition at line 249 of file Peripheral.hpp.
|
inline |
resolve the value of resetValue and return it.
Definition at line 245 of file Peripheral.hpp.
|
inline |
resolve the value of size and return it.
Definition at line 241 of file Peripheral.hpp.
|
inlinenoexcept |
prependToName or appendToName is not empty
Definition at line 230 of file Peripheral.hpp.
|
inline |
Definition at line 368 of file Peripheral.hpp.
| nullable<Access> nodamushi::svd::normalized::Peripheral< STRREF >::access |
| std::vector<AddressBlock> nodamushi::svd::normalized::Peripheral< STRREF >::addressBlock |
<addressBlock> emenents
Definition at line 111 of file Peripheral.hpp.
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::alternatePeripheral |
<alternatePeripheral>
Definition at line 58 of file Peripheral.hpp.
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::appendToName |
<appendToName>
Definition at line 78 of file Peripheral.hpp.
| uint64_t nodamushi::svd::normalized::Peripheral< STRREF >::baseAddress |
base address
Definition at line 84 of file Peripheral.hpp.
| list<Cluster> nodamushi::svd::normalized::Peripheral< STRREF >::clusters |
<cluster> elements list.This list is sorted by the addressOffset.
Definition at line 127 of file Peripheral.hpp.
| path<STRREF> nodamushi::svd::normalized::Peripheral< STRREF >::derivedFrom |
derivedFrom attribute
Definition at line 48 of file Peripheral.hpp.
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::description |
<description>
Definition at line 56 of file Peripheral.hpp.
| dim_info nodamushi::svd::normalized::Peripheral< STRREF >::dim |
dimemsion information object.
Definition at line 52 of file Peripheral.hpp.
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::disableCondition |
<disableCondition>
Definition at line 82 of file Peripheral.hpp.
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::groupName |
<groupName>
Definition at line 60 of file Peripheral.hpp.
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::headerStructName |
<headerStructName>
Definition at line 80 of file Peripheral.hpp.
| std::vector<Interrupt> nodamushi::svd::normalized::Peripheral< STRREF >::interrupt |
<interrupt> elements.
Definition at line 116 of file Peripheral.hpp.
| std::string nodamushi::svd::normalized::Peripheral< STRREF >::name |
<name>
Definition at line 50 of file Peripheral.hpp.
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::prependToName |
<prependToName>
Definition at line 69 of file Peripheral.hpp.
| nullable<Protection> nodamushi::svd::normalized::Peripheral< STRREF >::protection |
| list<Register> nodamushi::svd::normalized::Peripheral< STRREF >::registers |
<register> elements list.This list is sorted by the addressOffset.
Definition at line 137 of file Peripheral.hpp.
| nullable<uint64_t> nodamushi::svd::normalized::Peripheral< STRREF >::resetMask |
| nullable<uint64_t> nodamushi::svd::normalized::Peripheral< STRREF >::resetValue |
| nullable<uint32_t> nodamushi::svd::normalized::Peripheral< STRREF >::size |
| STRREF nodamushi::svd::normalized::Peripheral< STRREF >::version |
<version>
Definition at line 54 of file Peripheral.hpp.