DMAXFERCOMP
while ((TempDMAstatus & DMAXFERCOMP) == 0) {
while ((bus_space_read_1(iot, ioh, TRM_S1040_DMA_STATUS) & DMAXFERCOMP) == 0)