1 2 3 4 5 6 7 8 9 10 11
12
13 /*!
14 * ======== Timer ========
15 * Minimal timer definition
16 */
17 metaonly module Timer inherits xdc.platform.IPeripheral {
18
19 instance:
20 /*!
21 * ======== baseAddr ========
22 * Address of the peripheral's control register.
23 *
24 * A peripheral's registers are commonly accessed through a structure
25 * that defines the offsets of a particular register from the lowest
26 * address mapped to a peripheral. That lowest address is specified by
27 * this parameter.
28 */
29 config UInt baseAddr;
30
31 /*!
32 * ======== intNum ========
33 * Interrupt source number
34 *
35 */
36 config UInt intNum;
37 }
38 39 40
41