US_TO_NS
coredev->ir.timeout = US_TO_NS(IR_DEFAULT_TIMEOUT);
ns = US_TO_NS(pwm_ir->txbuf[pwm_ir->txbuf_index]);