// automatically generated by spin2cpp v6.9.5-HEAD-v6.9.5 on Sun May 05 15:31:17 2024 // command line: spin2cpp -I.. --p2 --ccode c:\Propeller2\Micropython\SimplestSerial\simplestserial.spin2 #ifndef simplestserial_Class_Defined__ #define simplestserial_Class_Defined__ #include // async tx mode, output enabled for smart output %0000_0000_000_0000000000000_01_11110_0 #define simplestserial__TXMODE ((64 | 60)) // async rx mode, input enabled for smart input %0000_0000_000_0000000000000_00_11111_0 #define simplestserial__RXMODE (62) typedef struct simplestserial { char dummy__; } simplestserial; void simplestserial_Begin(void); void simplestserial_Start(int32_t baudrate); //void simplestserial_pinf2(int32_t x); //void simplestserial_pinl2(int32_t x); //int32_t simplestserial_pinr2(int32_t x); //void simplestserial_rdpin2(int32_t x); //void simplestserial_dUDEC(int32_t x); //void simplestserial_dUHEX(int32_t x, int32_t n); void simplestserial_tx(int32_t val); void simplestserial_crlf(void); void simplestserial_println(int32_t p); void simplestserial_txflush(void); int32_t simplestserial_rxcheck(void); void simplestserial_rxFlush(void); int32_t simplestserial_rx(void); void simplestserial_str(int32_t s); int32_t simplestserial_dec(int32_t value); void simplestserial_hex(int32_t val, int32_t digits); void simplestserial_Bin(int32_t value, int32_t digits); #endif