Config GPIO for LED
This commit is contained in:
6
inc/gpio_configuration.h
Normal file
6
inc/gpio_configuration.h
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef _GPIO_CONFIGURATION_
|
||||||
|
#define _GPIO_CONFIGURATION_
|
||||||
|
|
||||||
|
void gpio_config();
|
||||||
|
|
||||||
|
#endif
|
||||||
10
src/gpio_configuration.c
Normal file
10
src/gpio_configuration.c
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#include "BA45F5250.h"
|
||||||
|
#include "stdint.h"
|
||||||
|
#include "build-in.h"
|
||||||
|
#include "gpio_configuration.h"
|
||||||
|
|
||||||
|
void gpio_config()
|
||||||
|
{
|
||||||
|
_pbc2 = 0;
|
||||||
|
_pb2 = 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user