void ciaaDriverDio_init(void) { uint8_t loopi; /* add dio driver to the list of devices */ for(loopi = 0; loopi < ciaaDriverDioConst.countOfDevices; loopi++) { /* add each device */ ciaaDioDevices_addDriver(ciaaDriverDioConst.devices[loopi]); } }
void ciaaDriverDio_init(void) { uint8_t loopi; /* low level GPIO peripheral initialization */ ciaa_lpc4337_gpio_init(); /* add dio driver to the list of devices */ for(loopi = 0; loopi < ciaaDriverDioConst.countOfDevices; loopi++) { /* add each device */ ciaaDioDevices_addDriver(ciaaDriverDioConst.devices[loopi]); } }