PropWare  3.0.0.224
C++ objects and CMake build system for Parallax Propeller
Namespaces | Macros | Typedefs | Enumerations
PropWare.h File Reference
#include <propeller.h>
#include <stdint.h>
#include <stdlib.h>
#include <ctype.h>
+ Include dependency graph for PropWare.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 PropWare
 Generic definitions and functions for the Parallax Propeller.
 

Macros

#define check_errors(x)   if ((err = x)) return err
 
#define SECOND   ((uint32_t) CLKFREQ)
 
#define MILLISECOND   ((uint32_t) (CLKFREQ / 1000))
 
#define MICROSECOND   ((uint32_t) (MILLISECOND / 1000))
 
#define FC_START(start, end)
 
#define FC_END(end)
 
#define FC_ADDR(to, start)   "__LMM_FCACHE_START+(" to " - " start ")"
 

Typedefs

typedef int PropWare::ErrorCode
 

Enumerations

enum  Bit {
  NULL_BIT = 0x0,
  BIT_0 = 0x1,
  BIT_1 = 0x2,
  BIT_2 = 0x4,
  BIT_3 = 0x8,
  BIT_4 = 0x10,
  BIT_5 = 0x20,
  BIT_6 = 0x40,
  BIT_7 = 0x80,
  BIT_8 = 0x100,
  BIT_9 = 0x200,
  BIT_10 = 0x400,
  BIT_11 = 0x800,
  BIT_12 = 0x1000,
  BIT_13 = 0x2000,
  BIT_14 = 0x4000,
  BIT_15 = 0x8000,
  BIT_16 = 0x10000,
  BIT_17 = 0x20000,
  BIT_18 = 0x40000,
  BIT_19 = 0x80000,
  BIT_20 = 0x100000,
  BIT_21 = 0x200000,
  BIT_22 = 0x400000,
  BIT_23 = 0x800000,
  BIT_24 = 0x1000000,
  BIT_25 = 0x2000000,
  BIT_26 = 0x4000000,
  BIT_27 = 0x8000000,
  BIT_28 = 0x10000000,
  BIT_29 = 0x20000000,
  BIT_30 = 0x40000000,
  BIT_31 = 0x80000000
}
 
enum  Nibble {
  NIBBLE_0 = 0xf,
  NIBBLE_1 = 0xf0,
  NIBBLE_2 = 0xf00,
  NIBBLE_3 = 0xf000,
  NIBBLE_4 = 0xf0000,
  NIBBLE_5 = 0xf00000,
  NIBBLE_6 = 0xf000000,
  NIBBLE_7 = 0xf0000000
}
 
enum  Byte {
  BYTE_0 = 0xff,
  BYTE_1 = 0xff00,
  BYTE_2 = 0xff0000,
  BYTE_3 = 0xff000000
}
 
enum  Word {
  WORD_0 = 0xffff,
  WORD_1 = 0xffff0000
}
 

Detailed Description

Author
David Zemon

Definition in file PropWare.h.

Macro Definition Documentation

◆ FC_END

#define FC_END (   end)
Value:
" jmp __LMM_RET\n\t" \
end ":\n\t" \
" .compress default\n\t"

Definition at line 73 of file PropWare.h.

◆ FC_START

#define FC_START (   start,
  end 
)
Value:
" fcache #(" end " - " start ")\n\t" \
" .compress off\n\t" \
start ":\n\t"

Definition at line 69 of file PropWare.h.