initial, ported from constantly failed C++ variant
This commit is contained in:
21
src/gpioCfg.c
Normal file
21
src/gpioCfg.c
Normal 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
|
||||
};
|
Reference in New Issue
Block a user