]> rtime.felk.cvut.cz Git - arc.git/blob - boards/ti_tms570ls/examples/rte_simple/config/Dio_Cfg.h
LED Blinker running on TMS570LS31x Hercules Development Kit (HDK) (TMS570LS3137ZWT)
[arc.git] / boards / ti_tms570ls / examples / rte_simple / config / Dio_Cfg.h
1 /*\r
2 * Configuration of module: Dio (Dio_Cfg.h)\r
3 *\r
4 * Created by:              \r
5 * Copyright:               \r
6 *\r
7 * Configured for (MCU):    TMS570\r
8 *\r
9 * Module vendor:           ArcCore\r
10 * Generator version:       2.0.0\r
11 *\r
12 * Generated by Arctic Studio (http://arccore.com) \r
13 */\r
14 \r
15
16 #if !(((DIO_SW_MAJOR_VERSION == 1) && (DIO_SW_MINOR_VERSION == 0)) )
17 #error Dio: Configuration file expected BSW module version to be 1.0.*
18 #endif
19
20 \r
21 #ifndef DIO_CFG_H_\r
22 #define DIO_CFG_H_\r
23 #include "Port.h"\r
24 #include "Std_Types.h" /** @req DIO131 */\r
25 \r
26 #define DIO_VERSION_INFO_API    STD_OFF\r
27 #define DIO_DEV_ERROR_DETECT    STD_OFF\r
28 \r
29 #define DIO_END_OF_LIST  (-1u)\r
30 \r
31 // Physical ports\r
32 typedef enum\r
33 {\r
34   DIO_PORT_A = 0,\r
35   DIO_PORT_B = 1,\r
36 } Dio_PortTypesType;\r
37 \r
38 \r
39 // Channels     \r
40 #define DIO_CHANNEL_NAME_LED_CHANNEL    PORT_PAD_3\r
41 \r
42 // Channel group\r
43 \r
44 // Ports\r
45 #define DIO_PORT_NAME_LED_PORT          (DIO_PORT_A)\r
46 \r
47 \r
48 \r
49 \r
50 // Pointers for convenience.\r
51 // Channels     \r
52 extern const Dio_ChannelType DioChannelConfigData[];\r
53 // Channel group\r
54 extern const Dio_ChannelGroupType DioConfigData[];\r
55 // Port\r
56 extern const Dio_PortType DioPortConfigData[];\r
57 \r
58 #endif /*DIO_CFG_H_*/\r