initial, ported from constantly failed C++ variant

This commit is contained in:
Wolfgang Hottgenroth
2016-08-29 19:24:24 +02:00
commit 35bef18ec0
16 changed files with 635 additions and 0 deletions

21
src/gpioCfg.c Normal file
View File

@ -0,0 +1,21 @@
/*
* gpioCfg.c
*
* Created on: 29.08.2016
* Author: wn
*/
#include "gpio.h"
tPinCfg pinCfg[PINS_END] = {
{PORT1, BIT7, LOW}, //A
{PORT1, BIT6, LOW}, //B
{PORT2, BIT1, LOW}, //C
{PORT2, BIT3, LOW}, //D
{PORT2, BIT4, LOW}, //E
{PORT2, BIT5, LOW}, //F
{PORT2, BIT2, LOW}, //G
{PORT2, BIT0, HIGH}, //0
{PORT1, BIT5, HIGH}, //1
{PORT1, BIT7, LOW}, // TESTPIN
};