QDNix
Quick’n’dirty *NIX
machdep.c
1
#include <stdint.h>
2
#include "register.h"
3
#include <sys/machine/mmio.h>
4
5
void
init(
void
)
6
{
7
GPIO_REG->pin_cnf[17] = 0x3;
8
GPIO_REG->outclr = 1 << 17;
9
}
sys
arm
soc
nrf52832
machdep.c
Generated by
1.9.1