#include "core/gpio/gpio.h" int main(void) { gpioInit(); IOCON_PIO0_4=IOCON_PIO0_4_FUNC_GPIO; IOCON_nRESET_PIO0_0=IOCON_nRESET_PIO0_0_FUNC_GPIO; gpioSetDir(0,0,gpioDirection_Output); gpioSetDir(0,4,gpioDirection_Output); while (1) { gpioSetValue(0,0,1); gpioSetValue(0,4,1); } } |
LPC_IOCON->RESET_PIO0_0 = value; |
IOCON_nRESET_PIO0_0=IOCON_nRESET_PIO0_0_FUNC_GPIO; |
IOCON_nRESET_PIO0_0=IOCON_nRESET_PIO0_0_FUNC_GPIO; |