APS_TWR_BASE
bus_space_write_1(iot, ioh, APS_TWR_BASE, buf[0]);
bus_space_write_1(iot, ioh, APS_TWR_BASE + n, buf[n]);
buf[n] = bus_space_read_1(iot, ioh, APS_TWR_BASE + n);