20 lines
376 B
C
20 lines
376 B
C
#include "kt.h"
|
|
|
|
|
|
void kt_boot_init(void)
|
|
{
|
|
gpio_set_pull_up(IO_PORTA_08, 1);
|
|
gpio_set_pull_down(IO_PORTA_08, 0);
|
|
gpio_set_die(IO_PORTA_08, 1);
|
|
gpio_set_direction(IO_PORTA_08, 1);
|
|
|
|
gpio_set_pull_up(IO_PORTA_04, 1);
|
|
gpio_set_pull_down(IO_PORTA_04, 0);
|
|
gpio_set_die(IO_PORTA_04, 1);
|
|
gpio_set_direction(IO_PORTA_04, 1);
|
|
}
|
|
|
|
void kt_init(void)
|
|
{
|
|
|
|
} |