NSVD Reader
0.0.1
Interrupt.hpp
Go to the documentation of this file.
1
5
/*
6
* These codes are licensed under CC0.
7
* http://creativecommons.org/publicdomain/zero/1.0/
8
*/
9
#ifndef __NODAMUSHI_SVD_NORMALIZED_INTERRUPT_HPP__
10
#define __NODAMUSHI_SVD_NORMALIZED_INTERRUPT_HPP__
11
12
# include <cstdint>
13
14
namespace
nodamushi
{
15
namespace
svd{
16
namespace
normalized{
17
23
template
<
typename
STRREF>
struct
Interrupt
24
{
26
STRREF
name
;
28
STRREF
description
;
30
uint64_t
value
;
31
33
template
<
typename
T>
34
Interrupt
(
const
T& src):
35
name
(src.
name
.get(
""
)),
36
description
(src.
description
.get(
""
)),
37
value
(src.
value
.get(0)){}
38
};
39
40
}}}
// end namespace svd
41
42
#endif // __NODAMUSHI_SVD_NORMALIZED_INTERRUPT_HPP__
nodamushi::svd::normalized::Interrupt::Interrupt
Interrupt(const T &src)
Definition:
Interrupt.hpp:34
nodamushi::svd::normalized::Interrupt::name
STRREF name
<name> name of interrupt
Definition:
Interrupt.hpp:26
nodamushi::svd::normalized::Interrupt::description
STRREF description
<description>
Definition:
Interrupt.hpp:28
nodamushi::svd::normalized::Interrupt::value
uint64_t value
<value>interrupt index
Definition:
Interrupt.hpp:30
nodamushi::svd::value
This class reperesents SVD(xml) element / attribute.
Definition:
value.hpp:53
nodamushi
Definition:
box.hpp:14
nodamushi::svd::normalized::Interrupt
normalized interrupt element
Definition:
Interrupt.hpp:23
include
nodamushi
svd
normalized
Interrupt.hpp
Generated by
1.8.15