ENVY_CCS_GPIODIR0
return envy_ccs_read(sc, ENVY_CCS_GPIODIR0) |
envy_ccs_write(sc, ENVY_CCS_GPIODIR0, dir & 0xff);