/* * disable callback routine of sio port */ void sio_dis_cbr(SIOPCB *siopcb, uint_t cbrtn) { switch (cbrtn) { case SIO_RDY_SND: uart_disable_send(siopcb->p_siopinib->regs); break; case SIO_RDY_RCV: uart_disable_rcv(siopcb->p_siopinib->regs); break; } }
/* * シリアルI/Oポートからのコールバックの禁止 */ void uart_dis_cbr(SIOPCB *siopcb, UINT cbrtn) { switch (cbrtn) { case SIO_ERDY_SND: uart_disable_send(siopcb); break; case SIO_ERDY_RCV: uart_disable_rcv(siopcb); break; } }