summaryrefslogtreecommitdiffstats
path: root/spec/dev/grlib/if/gptimer.yml
blob: 27f0a1cec13e5b7f5e03a9323aa3290ad3644a2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  This structure defines the ${.:/register-block-group} register block memory
  map.
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
description: null
enabled-by: true
identifier: RTEMSDeviceGRLIBGPTIMER
index-entries: []
interface-type: register-block
links:
- role: interface-ingroup
  uid: group
- role: interface-placement
  uid: gptimer-header
- name: TIMER
  role: register-block-include
  uid: gptimer-timer
definition:
- default:
    count: 1
    name: SCALER
  offset: 0x0
  variants: []
- default:
    count: 1
    name: SRELOAD
  offset: 0x4
  variants: []
- default:
    count: 1
    name: CONFIG
  offset: 0x8
  variants: []
- default:
    count: 1
    name: LATCHCFG
  offset: 0xc
  variants: []
- default:
    count: 15
    name: TIMER
  offset: 0x10
  variants: []
register-prefix: null
register-block-group: GPTIMER
register-block-size: 256
registers:
- bits:
  - default:
    - access: [r, w]
      brief: null
      description: null
      name: 'SCALER'
      start: 0
      width: 16
    variants: []
  brief: |
    Scaler value register
  description: null
  name: SCALER
  width: 32
- bits:
  - default:
    - access: [r, w]
      brief: null
      description: null
      name: 'SRELOAD'
      start: 0
      width: 16
    variants: []
  brief: |
    Scaler reload value register
  description: null
  name: SRELOAD
  width: 32
- bits:
  - default:
    - access: [r, w]
      brief: null
      description: null
      name: 'EV'
      start: 13
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'ES'
      start: 12
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'EL'
      start: 11
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'EE'
      start: 10
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'DF'
      start: 9
      width: 1
    - access: [r]
      brief: null
      description: null
      name: 'SI'
      start: 8
      width: 1
    - access: [r]
      brief: null
      description: null
      name: 'IRQ'
      start: 3
      width: 5
    - access: [r]
      brief: null
      description: null
      name: 'TIMERS'
      start: 0
      width: 3
    variants: []
  brief: |
    Configuration register
  description: null
  name: CONFIG
  width: 32
- bits:
  - default:
    - access: [r, w]
      brief: null
      description: null
      name: 'LATCHSEL'
      start: 0
      width: 32
    variants: []
  brief: |
    Timer latch configuration register
  description: null
  name: LATCHCFG
  width: 32
name: gptimer
notes: null
type: interface