/* * シリアルI/Oポートからの文字受信 */ INT upd72001_rcv_chr(SIOPCB *siopcb) { if (upd72001_getready(siopcb)) { return((INT)(UB) upd72001_getchar(siopcb)); } return(-1); }
/* * シリアルI/Oポートからの文字受信 */ int_t upd72001_rcv_chr(SIOPCB *p_siopcb) { if (upd72001_getready(p_siopcb)) { return((int_t)(uint8_t) upd72001_getchar(p_siopcb)); } return(-1); }