// //------------------ DOK FILE -------------------------------------------------- +Header bios =pkg bios =title bios =short =desc Documentation in progress... // // //------------------ PROTO ----------------------------------------------------- Parity +Proto Parity =type Parity =mode type =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_115200 +Proto SERIAL_115200 =type Int =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_19200 +Proto SERIAL_19200 =type Int =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_38400 +Proto SERIAL_38400 =type Int =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_57600 +Proto SERIAL_57600 =type Int =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_7BITS +Proto SERIAL_7BITS =type SerialBits =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_8BITS +Proto SERIAL_8BITS =type SerialBits =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_9600 +Proto SERIAL_9600 =type Int =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_EVENPARITY +Proto SERIAL_EVENPARITY =type Parity =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_NOPARITY +Proto SERIAL_NOPARITY =type Parity =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_ODDPARITY +Proto SERIAL_ODDPARITY =type Parity =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_ONESTOPBIT +Proto SERIAL_ONESTOPBIT =type Stop =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SERIAL_TWOSTOPBITS +Proto SERIAL_TWOSTOPBITS =type Stop =mode constant =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- Serial +Proto Serial =type Serial =mode type =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- SerialBits +Proto SerialBits =type SerialBits =mode type =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- Stop +Proto Stop =type Stop =mode type =pkg bios =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- serialClose +Proto serialClose =type fun a1{Stream} -> Bool =mode Function =pkg bios =impl mcy =link =desc // +arg serial =type a1{Stream} =desc // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- serialOnEvent +Proto serialOnEvent =type fun a1{Stream} (fun Str -> a2) (fun -> a3) -> a1{Stream} =mode Function =pkg bios =impl mcy =link =desc // +arg serial =type a1{Stream} =desc // +arg onRead =type fun Str -> a2 =desc // +arg onWrite =type fun -> a3 =desc // +arg result =type a1{Stream} =desc // // //------------------ PROTO ----------------------------------------------------- serialOpen +Proto serialOpen =type fun Str Int SerialBits Parity Stop -> _Serial =mode Function =pkg bios =impl mcy =link =desc // +arg port =type Str =desc // +arg speed =type Int =desc // +arg format =type SerialBits =desc // +arg parity =type Parity =desc // +arg stop =type Stop =desc // +arg result =type _Serial =desc // // //------------------ PROTO ----------------------------------------------------- serialWrite +Proto serialWrite =type fun a1{Stream} Str Int -> Int =mode Function =pkg bios =impl mcy =link =desc // +arg serial =type a1{Stream} =desc // +arg data =type Str =desc // +arg start =type Int =desc // +arg result =type Int =desc