NSVD Reader  0.0.1
nodamushi::svd::normalized Namespace Reference

Namespaces

 details
 

Classes

struct  AddressBlock
 normalized <addressBlock> More...
 
struct  bit_range
 normalized bit range More...
 
struct  Cluster
 
struct  Cpu
 <cpu> element More...
 
struct  derived_from_helper
 
struct  derived_from_helper_cast
 
struct  derived_from_helper_cast< nullable< TO > >
 
struct  Device
 normalized Device More...
 
struct  dim_helper
 
struct  dim_info
 dim,dimIndex,array information object. More...
 
struct  dim_name_helper
 replacing s process support More...
 
struct  DimArrayIndex
 <dimArrayIndex> element More...
 
struct  EnumeratedValue
 Normalized enumeratedValue. More...
 
struct  Enumeration
 normalized <enumeratedValues> element. iterable More...
 
struct  Field
 normalized field element More...
 
struct  handleVisit
 
struct  handleVisit< CONTROLLER, VISITOR, Cluster< A > >
 
struct  handleVisit< CONTROLLER, VISITOR, Device< A > >
 
struct  handleVisit< CONTROLLER, VISITOR, Field< A > >
 
struct  handleVisit< CONTROLLER, VISITOR, Peripheral< A > >
 
struct  handleVisit< CONTROLLER, VISITOR, Register< A > >
 
struct  if_same_type
 
struct  Interrupt
 normalized interrupt element More...
 
struct  is_same
 
struct  normalizer
 
struct  normvisitor
 
struct  nullable
 a data container like optional type. More...
 
struct  parent_method_call
 
struct  parent_method_call< void * >
 
struct  Peripheral
 normalized peripheral element More...
 
struct  Register
 
struct  SAURegionsConfig
 Security Attribution Unit(SAU). More...
 
struct  SAURegionsConfigRegion
 Security Attribution Unit(SAU) region. More...
 
struct  unwrap_decltype
 
struct  WriteConstraint
 normalized <writeConstraint>.<range> element More...
 

Typedefs

template<typename T >
using node_ptr = std::shared_ptr< T >
 
template<typename Parent >
using parent_ptr = std::weak_ptr< Parent >
 
template<typename Child >
using list = ::nodamushi::boxvec< Child, node_ptr< Child > >
 

Enumerations

enum  dim_type { dim_type::NON =0, dim_type::SEQ, dim_type::ARRAY }
 Array or Sequence or not. More...
 

Functions

template<typename T , typename SVD , typename VALUE , VALUE SVD::* MEMBER>
auto cast_df_helper (derived_from_helper< SVD, VALUE, MEMBER > &&h)
 
template<typename NODE >
size_t get_dim_count (const NODE &n)
 get dim size. when dim is empty return 1. More...
 
template<typename NODE >
auto make_dim_name_helper (const NODE &n) -> dim_name_helper< typename decltype(n.name)::type >
 
template<typename NODE >
auto make_dim_displayName_helper (const NODE &n) -> dim_name_helper< typename decltype(n.displayName)::type >
 
template<typename NODE >
dim_helper< NODE > make_dim_helper (const NODE &n)
 
template<typename NODELIST >
size_t calcChildrenSize (const NODELIST &list)
 
 __NX_NORM_HANDLE_VISIT (Enumeration)
 
template<typename T , typename... ARGS>
node_ptr< T > make_node_ptr (ARGS &&... args)
 
template<typename T , typename You >
void update_parent_of_children (list< T > &l, node_ptr< You > &you)
 
template<typename O , typename S >
void path_helper (const O &o,::nodamushi::svd::path< S > &path)
 
template<typename O , typename S >
void path_helper (const Peripheral< O > &o,::nodamushi::svd::path< S > &path)
 
template<typename STRREF , template< class >class O>
node_ptr< Peripheral< STRREF > > find_parent_peripheral (O< STRREF > &o)
 
template<typename STRREF , template< class >class O>
node_ptr< const Peripheral< STRREF > > find_parent_peripheral (const O< STRREF > &o)
 
template<typename STRREF , template< class >class O>
node_ptr< Peripheral< STRREF > > find_parent_peripheral (node_ptr< O< STRREF >> &o)
 
template<typename STRREF , template< class >class O>
node_ptr< const Peripheral< STRREF > > find_parent_peripheral (node_ptr< const O< STRREF >> &o)
 
template<typename STRREF >
node_ptr< Peripheral< STRREF > > find_parent_peripheral (node_ptr< Peripheral< STRREF >> &o)
 
template<typename STRREF >
node_ptr< Peripheral< STRREF > > find_parent_peripheral (void *o)
 
template<typename STRREF >
node_ptr< const Peripheral< STRREF > > find_parent_peripheral (node_ptr< const Peripheral< STRREF >> &o)
 
template<typename STRREF >
node_ptr< const Peripheral< STRREF > > find_parent_peripheral (const void *o)
 
template<typename O >
uint64_t calc_address (const O &o, uint64_t offset=0)
 
template<typename X >
uint64_t constexpr calc_address (const Device< X > &d, uint64_t offset=0)
 
template<typename X >
uint64_t constexpr calc_address (const Peripheral< X > &p, uint64_t offset=0)
 
template<typename O >
uint64_t calc_offset (const O &o, uint64_t offset=0)
 
template<typename X >
uint64_t constexpr calc_offset (const Device< X > &d, uint64_t offset=0)
 
template<typename X >
uint64_t constexpr calc_offset (const Peripheral< X > &p, uint64_t offset=0)
 
template<typename O >
uint32_t get_default_size (const O &o) noexcept
 
template<typename O >
Access get_default_access (const O &o) noexcept
 
template<typename O >
Access get_default_fieldaccess (const O &o) noexcept
 
template<typename O >
Protection get_default_protection (const O &o) noexcept
 
template<typename O >
uint64_t get_default_resetValue (const O &o) noexcept
 
template<typename O >
uint64_t get_default_resetMask (const O &o)
 
template<typename O >
ModifiedWriteValues get_default_modifiedWriteValues (const O &o)
 
template<typename O >
ReadAction get_default_readAction (const O &o)
 
template<typename O >
DataType get_default_dataType (const O &r) noexcept
 
template<typename R >
node_ptr< R > __find_helper (list< R > &v, string_ref n)
 

Typedef Documentation

◆ list

template<typename Child >
using nodamushi::svd::normalized::list = typedef ::nodamushi::boxvec<Child,node_ptr<Child> >

Definition at line 59 of file node_container.hpp.

◆ node_ptr

template<typename T >
using nodamushi::svd::normalized::node_ptr = typedef std::shared_ptr<T>

Definition at line 57 of file node_container.hpp.

◆ parent_ptr

template<typename Parent >
using nodamushi::svd::normalized::parent_ptr = typedef std::weak_ptr<Parent>

Definition at line 58 of file node_container.hpp.

Enumeration Type Documentation

◆ dim_type

Array or Sequence or not.

Enumerator
NON 

not array and seq.

SEQ 

NAMEs.

ARRAY 

NAME[s].

Definition at line 16 of file dim_info.hpp.

Function Documentation

◆ __find_helper()

template<typename R >
node_ptr<R> nodamushi::svd::normalized::__find_helper ( list< R > &  v,
string_ref  n 
)

Definition at line 286 of file node_container.hpp.

◆ __NX_NORM_HANDLE_VISIT()

nodamushi::svd::normalized::__NX_NORM_HANDLE_VISIT ( Enumeration  )

Definition at line 90 of file Enumeration.hpp.

◆ calc_address() [1/3]

template<typename O >
uint64_t nodamushi::svd::normalized::calc_address ( const O &  o,
uint64_t  offset = 0 
)

Definition at line 168 of file node_container.hpp.

◆ calc_address() [2/3]

template<typename X >
uint64_t constexpr nodamushi::svd::normalized::calc_address ( const Device< X > &  d,
uint64_t  offset = 0 
)

Definition at line 178 of file node_container.hpp.

◆ calc_address() [3/3]

template<typename X >
uint64_t constexpr nodamushi::svd::normalized::calc_address ( const Peripheral< X > &  p,
uint64_t  offset = 0 
)

Definition at line 180 of file node_container.hpp.

◆ calc_offset() [1/3]

template<typename O >
uint64_t nodamushi::svd::normalized::calc_offset ( const O &  o,
uint64_t  offset = 0 
)

Definition at line 183 of file node_container.hpp.

◆ calc_offset() [2/3]

template<typename X >
uint64_t constexpr nodamushi::svd::normalized::calc_offset ( const Device< X > &  d,
uint64_t  offset = 0 
)

Definition at line 193 of file node_container.hpp.

◆ calc_offset() [3/3]

template<typename X >
uint64_t constexpr nodamushi::svd::normalized::calc_offset ( const Peripheral< X > &  p,
uint64_t  offset = 0 
)

Definition at line 195 of file node_container.hpp.

◆ calcChildrenSize()

template<typename NODELIST >
size_t nodamushi::svd::normalized::calcChildrenSize ( const NODELIST &  list)

Definition at line 168 of file dim_helper.hpp.

◆ cast_df_helper()

template<typename T , typename SVD , typename VALUE , VALUE SVD::* MEMBER>
auto nodamushi::svd::normalized::cast_df_helper ( derived_from_helper< SVD, VALUE, MEMBER > &&  h)

Definition at line 119 of file derived_from_helper.hpp.

◆ find_parent_peripheral() [1/8]

template<typename STRREF , template< class >class O>
node_ptr<Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( O< STRREF > &  o)

Definition at line 119 of file node_container.hpp.

◆ find_parent_peripheral() [2/8]

template<typename STRREF , template< class >class O>
node_ptr<const Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( const O< STRREF > &  o)

Definition at line 128 of file node_container.hpp.

◆ find_parent_peripheral() [3/8]

template<typename STRREF , template< class >class O>
node_ptr<Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( node_ptr< O< STRREF >> &  o)

Definition at line 138 of file node_container.hpp.

◆ find_parent_peripheral() [4/8]

template<typename STRREF , template< class >class O>
node_ptr<const Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( node_ptr< const O< STRREF >> &  o)

Definition at line 148 of file node_container.hpp.

◆ find_parent_peripheral() [5/8]

template<typename STRREF >
node_ptr<Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( node_ptr< Peripheral< STRREF >> &  o)

Definition at line 158 of file node_container.hpp.

◆ find_parent_peripheral() [6/8]

template<typename STRREF >
node_ptr<Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( void *  o)

Definition at line 160 of file node_container.hpp.

◆ find_parent_peripheral() [7/8]

template<typename STRREF >
node_ptr<const Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( node_ptr< const Peripheral< STRREF >> &  o)

Definition at line 162 of file node_container.hpp.

◆ find_parent_peripheral() [8/8]

template<typename STRREF >
node_ptr<const Peripheral<STRREF> > nodamushi::svd::normalized::find_parent_peripheral ( const void *  o)

Definition at line 164 of file node_container.hpp.

◆ get_default_access()

template<typename O >
Access nodamushi::svd::normalized::get_default_access ( const O &  o)
noexcept

Definition at line 209 of file node_container.hpp.

◆ get_default_dataType()

template<typename O >
DataType nodamushi::svd::normalized::get_default_dataType ( const O &  r)
noexcept

Definition at line 275 of file node_container.hpp.

◆ get_default_fieldaccess()

template<typename O >
Access nodamushi::svd::normalized::get_default_fieldaccess ( const O &  o)
noexcept

Definition at line 219 of file node_container.hpp.

◆ get_default_modifiedWriteValues()

template<typename O >
ModifiedWriteValues nodamushi::svd::normalized::get_default_modifiedWriteValues ( const O &  o)

Definition at line 258 of file node_container.hpp.

◆ get_default_protection()

template<typename O >
Protection nodamushi::svd::normalized::get_default_protection ( const O &  o)
noexcept

Definition at line 227 of file node_container.hpp.

◆ get_default_readAction()

template<typename O >
ReadAction nodamushi::svd::normalized::get_default_readAction ( const O &  o)

Definition at line 265 of file node_container.hpp.

◆ get_default_resetMask()

template<typename O >
uint64_t nodamushi::svd::normalized::get_default_resetMask ( const O &  o)

Definition at line 247 of file node_container.hpp.

◆ get_default_resetValue()

template<typename O >
uint64_t nodamushi::svd::normalized::get_default_resetValue ( const O &  o)
noexcept

Definition at line 237 of file node_container.hpp.

◆ get_default_size()

template<typename O >
uint32_t nodamushi::svd::normalized::get_default_size ( const O &  o)
noexcept

Definition at line 199 of file node_container.hpp.

◆ get_dim_count()

template<typename NODE >
size_t nodamushi::svd::normalized::get_dim_count ( const NODE &  n)

get dim size. when dim is empty return 1.

Definition at line 21 of file dim_helper.hpp.

◆ make_dim_displayName_helper()

template<typename NODE >
auto nodamushi::svd::normalized::make_dim_displayName_helper ( const NODE &  n) -> dim_name_helper<typename decltype(n.displayName)::type>

Definition at line 122 of file dim_helper.hpp.

◆ make_dim_helper()

template<typename NODE >
dim_helper<NODE> nodamushi::svd::normalized::make_dim_helper ( const NODE &  n)
inline

Definition at line 163 of file dim_helper.hpp.

◆ make_dim_name_helper()

template<typename NODE >
auto nodamushi::svd::normalized::make_dim_name_helper ( const NODE &  n) -> dim_name_helper<typename decltype(n.name)::type>

Definition at line 115 of file dim_helper.hpp.

◆ make_node_ptr()

template<typename T , typename... ARGS>
node_ptr<T> nodamushi::svd::normalized::make_node_ptr ( ARGS &&...  args)

Definition at line 62 of file node_container.hpp.

◆ path_helper() [1/2]

template<typename O , typename S >
void nodamushi::svd::normalized::path_helper ( const O &  o,
::nodamushi::svd::path< S > &  path 
)

Definition at line 102 of file node_container.hpp.

◆ path_helper() [2/2]

template<typename O , typename S >
void nodamushi::svd::normalized::path_helper ( const Peripheral< O > &  o,
::nodamushi::svd::path< S > &  path 
)

Definition at line 112 of file node_container.hpp.

◆ update_parent_of_children()

template<typename T , typename You >
void nodamushi::svd::normalized::update_parent_of_children ( list< T > &  l,
node_ptr< You > &  you 
)

Definition at line 90 of file node_container.hpp.