1 /* -------------------------------- Arctic Core ------------------------------
\r
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\r
6 * This source code is free software; you can redistribute it and/or modify it
\r
7 * under the terms of the GNU General Public License version 2 as published by the
\r
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
\r
10 * This program is distributed in the hope that it will be useful, but
\r
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
\r
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
14 * -------------------------------- Arctic Core ------------------------------*/
\r
16 #include "Dio_Cfg.h"
\r
18 const Dio_ChannelType DioChannelConfigData[] =
\r
20 DIO_CHANNEL_NAME_LED_CHANNEL1,
\r
21 DIO_CHANNEL_NAME_LED_CHANNEL2,
\r
25 const Dio_PortType DioPortConfigData[] =
\r
27 DIO_PORT_NAME_LED_PORT,
\r
31 const Dio_ChannelGroupType DioConfigData[] =
\r
33 { .port = DIO_PORT_B, .offset = 7, .mask = 0x80, },
\r
34 { .port = DIO_END_OF_LIST, .offset = DIO_END_OF_LIST, .mask = DIO_END_OF_LIST, },
\r
37 uint32 Dio_GetPortConfigSize(void)
\r
39 return sizeof(DioConfigData);
\r