1 2 3 4 5 6 7 8 9 10 11
12 import ti.catalog.msp430.peripherals.clock.CS_A as CS_A;
13
14 /*!
15 * ======== GPIO for MSP430FR59xx_FR58xx ========
16 * MSP430 General Purpose Input Output Ports
17 */
18 metaonly module GPIO_MSP430FR59xx_FR58xx inherits IGPIO {
19 /*!
20 * ======== create ========
21 * Create an instance of this peripheral. Use a customized
22 * init function so that we can get access to the CS_A
23 * instances.
24 */
25 create(CS_A.Instance clock);
26
27 instance:
28 /*! @_nodoc */
29 config CS_A.Instance clock;
30
31 config Int numPortInterrupts = 4;
32 }