normalized Device
More...
#include <Device.hpp>
template<typename STRREF>
struct nodamushi::svd::normalized::Device< STRREF >
normalized Device
- Root class. Use nodamushi::svd::normalized() function to create this intance.
svd::Device<> deviece(svd_reader);
std::cout << ptr->peripheral[0].name << std::endl;
- Parameters
-
- In C++14, the default text type is 'std::string'. In C++17, the default text type is 'std::string_view'. std::string_view refers to the string of svd::Device.
- See also
- http://www.keil.com/pack/doc/CMSIS/SVD/html/elem_device.html
-
nodamushi::svd::Device
-
nodamushi::svd::normalized::normalize()
Definition at line 46 of file Device.hpp.
◆ Cluster
template<typename STRREF>
◆ Cpu
template<typename STRREF>
◆ Field
template<typename STRREF>
◆ Peripheral
template<typename STRREF>
◆ Register
template<typename STRREF>
◆ this_t
template<typename STRREF>
◆ Device()
template<typename STRREF>
template<typename NORMALIZED >
Don't use this constructor.this constructor is for normalizer class.
- Parameters
-
Definition at line 240 of file Device.hpp.
◆ find() [1/2]
template<typename STRREF>
template<typename STR >
find path element
- Parameters
-
- Returns
- element pointer Note: register path is NOT contains peripheral.prependToName and appendToName
Definition at line 108 of file Device.hpp.
◆ find() [2/2]
template<typename STRREF>
find path element
- Parameters
-
- Returns
- element pointer Note: register path is NOT contains peripheral.prependToName and appendToName
Definition at line 125 of file Device.hpp.
◆ find_cluster() [1/2]
template<typename STRREF>
template<typename STR >
find peripheral
- Parameters
-
- Returns
- element pointer
Definition at line 162 of file Device.hpp.
◆ find_cluster() [2/2]
template<typename STRREF>
find peripheral
- Parameters
-
- Returns
- element pointer
Definition at line 176 of file Device.hpp.
◆ find_field() [1/2]
template<typename STRREF>
template<typename STR >
find field
- Parameters
-
- Returns
- element pointer
Definition at line 214 of file Device.hpp.
◆ find_field() [2/2]
template<typename STRREF>
find field
- Parameters
-
- Returns
- element pointer
Definition at line 228 of file Device.hpp.
◆ find_peripheral() [1/2]
template<typename STRREF>
template<typename STR >
find peripheral
- Parameters
-
- Returns
- element pointer
Definition at line 137 of file Device.hpp.
◆ find_peripheral() [2/2]
template<typename STRREF>
find peripheral
- Parameters
-
- Returns
- element pointer
Definition at line 150 of file Device.hpp.
◆ find_register() [1/2]
template<typename STRREF>
template<typename STR >
find register
- Parameters
-
- Returns
- element pointer
Definition at line 188 of file Device.hpp.
◆ find_register() [2/2]
template<typename STRREF>
find register
- Parameters
-
- Returns
- element pointer
Definition at line 202 of file Device.hpp.
◆ get_access()
template<typename STRREF>
◆ get_address()
template<typename STRREF>
◆ get_parent()
template<typename STRREF>
allways return nullptr
Definition at line 286 of file Device.hpp.
◆ get_parent2()
template<typename STRREF>
allways return nullptr
Definition at line 288 of file Device.hpp.
◆ get_protection()
template<typename STRREF>
◆ get_resetMask()
template<typename STRREF>
◆ get_resetValue()
template<typename STRREF>
◆ get_size()
template<typename STRREF>
◆ update_parent()
template<typename STRREF>
set this object pointer.
Definition at line 267 of file Device.hpp.
◆ access
template<typename STRREF>
◆ addressUnitBits
template<typename STRREF>
◆ cpu
template<typename STRREF>
◆ description
template<typename STRREF>
◆ headerDefinitionsPrefix
template<typename STRREF>
<headerDefinitionsPrefix>
Definition at line 72 of file Device.hpp.
◆ headerSystemFilename
template<typename STRREF>
<headerSystemFilename>
Definition at line 70 of file Device.hpp.
◆ licenseText
template<typename STRREF>
◆ name
template<typename STRREF>
◆ peripherals
template<typename STRREF>
peripheral list Peripheral class does not prohibit copying, but basically it should be treated with a reference.
auto& p = device->peripherals[0];
Definition at line 98 of file Device.hpp.
◆ protection
template<typename STRREF>
◆ resetMask
template<typename STRREF>
◆ resetValue
template<typename STRREF>
◆ series
template<typename STRREF>
◆ size
template<typename STRREF>
◆ vendor
template<typename STRREF>
◆ vendorID
template<typename STRREF>
◆ version
template<typename STRREF>
◆ width
template<typename STRREF>
The documentation for this struct was generated from the following file: