summaryrefslogtreecommitdiffstats
path: root/spec/dev/grlib/if/gptimer-timer.yml
blob: 7d08cc74dc7d3bdcd80c2b2f90b51f1b3095a018 (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
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: RTEMSDeviceGRLIBGPTIMERTimer
index-entries: []
interface-type: register-block
links:
- role: interface-ingroup
  uid: gptimer
- role: interface-placement
  uid: gptimer-header
definition:
- default:
    count: 1
    name: TCNTVAL
  offset: 0x0
  variants: []
- default:
    count: 1
    name: TRLDVAL
  offset: 0x4
  variants: []
- default:
    count: 1
    name: TCTRL
  offset: 0x8
  variants: []
- default:
    count: 1
    name: TLATCH
  offset: 0xc
  variants: []
register-prefix: gptimer
register-block-group: GPTIMER TIMER
register-block-size: 16
registers:
- bits:
  - default:
    - access: [r, w]
      brief: null
      description: null
      name: 'TCVAL'
      start: 0
      width: 32
    variants: []
  brief: |
    Timer n counter value register
  description: null
  name: TCNTVAL
  width: 32
- bits:
  - default:
    - access: [r, w]
      brief: null
      description: null
      name: 'TRLDVAL'
      start: 0
      width: 32
    variants: []
  brief: |
    Timer n counter reload value register
  description: null
  name: TRLDVAL
  width: 32
- bits:
  - default:
    - access: [r, w]
      brief: null
      description: null
      name: 'WS'
      start: 8
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'WN'
      start: 7
      width: 1
    - access: [r]
      brief: null
      description: null
      name: 'DH'
      start: 6
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'CH'
      start: 5
      width: 1
    - access: [r, w1c]
      brief: null
      description: null
      name: 'IP'
      start: 4
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'IE'
      start: 3
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'LD'
      start: 2
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'RS'
      start: 1
      width: 1
    - access: [r, w]
      brief: null
      description: null
      name: 'EN'
      start: 0
      width: 1
    variants: []
  brief: |
    Timer n control register
  description: null
  name: TCTRL
  width: 32
- bits:
  - default:
    - access: [r]
      brief: null
      description: null
      name: 'LTCV'
      start: 0
      width: 32
    variants: []
  brief: |
    Timer n latch register
  description: null
  name: TLATCH
  width: 32
name: gptimer_timer
notes: null
type: interface