unit HostUartI em.hal/HostUartI.em 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15package em.hal import ConsoleUartI interface HostUartI: ConsoleUartI type RxHandler: function(b: uint8) function disable() function enable() function get(): uint8 host function setRxHandlerH(handler: RxHandler) end