32 #include <propeller.h> 35 #if 0 //(defined __cplusplus && __cplusplus >= 201103L) 51 #define check_errors(x) x 53 #define check_errors(x) if ((err = x)) return err 56 #define SECOND ((uint32_t) CLKFREQ) 57 #define MILLISECOND ((uint32_t) (CLKFREQ / 1000)) 58 #define MICROSECOND ((uint32_t) (MILLISECOND / 1000)) 60 #ifdef __PROPELLER_COG__ 61 #define FC_START(start, end) 63 #define FC_ADDR(to, start) to 65 #define FC_START(start, end) \ 66 " fcache #(" end " - " start ")\n\t" \ 67 " .compress off\n\t" \ 70 " jmp __LMM_RET\n\t" \ 72 " .compress default\n\t" 73 #define FC_ADDR(to, start) "__LMM_FCACHE_START+(" to " - " start ")" 76 typedef int ErrorCode;
120 NIBBLE_6 = 0xf000000,
121 NIBBLE_7 = 0xf0000000
Generic definitions and functions for the Parallax Propeller.
Generic definitions for assembly files for the Parallax Propeller.