202 #define portReadBitadr_MACRO(bitAdr) (*((volatile WORD*)((bitAdr)&0xFFF)) & (0x01 << ((bitAdr)>>12))) 
  225 #if !defined(DOXY_FUNC) 
  226 #if defined(IOPORTS_OPTIMIZE_SIZE) 
  227 #define portSetBitadr(bitAdr) portWriteBitadr(bitAdr, 1) 
  255 #define portSetBitadr_MACRO(bitAdr) (*((volatile WORD*)((bitAdr)&0xFFF)) |= (0x01 << ((bitAdr)>>12))) 
  278 #if !defined(DOXY_FUNC) 
  279 #if defined(IOPORTS_OPTIMIZE_SIZE) 
  280 #define portClearBitadr(bitAdr) portWriteBitadr(bitAdr, 0) 
  308 #define portClearBitadr_MACRO(bitAdr) (*((volatile WORD*)((bitAdr)&0xFFF)) &= (~(0x01 << ((bitAdr)>>12)))) 
  356 #define portWriteBitadr_MACRO(bitAdr, value) ((value==0) ? (*((volatile WORD*)((bitAdr)&0xFFF)) &= (~(0x01 << ((bitAdr)>>12)))) : (*((volatile WORD*)((bitAdr)&0xFFF)) |= (0x01 << ((bitAdr)>>12)))) 
  383 #if !defined(DOXY_FUNC) 
  386     #define portGetLAT(portID) (portGetTRISwOffset(portID, 4)) 
  387 #elif defined(__C32__) 
  389     #define portGetLAT(portID) (portGetTRISwOffset(portID, 0x30)) 
  391     #error "portGetLAT() not defined for this compiler!" 
  418 #if !defined(DOXY_FUNC) 
  421     #define ucportGetLAT(ucportID) (ucportGetTRISwOffset(ucportID, 4)) 
  422 #elif defined(__C32__) 
  424     #define ucportGetLAT(ucportID) (ucportGetTRISwOffset(ucportID, 0x30)) 
  426     #error "ucportGetLAT() not defined for this compiler!" 
  459 #if !defined(DOXY_FUNC) 
  462     #define portGetPIN(portID) (portGetTRISwOffset(portID, 2)) 
  463 #elif defined(__C32__) 
  465     #define portGetPIN(portID) (portGetTRISwOffset(portID, 0x20)) 
  467     #error "portGetPIN() not defined for this compiler!" 
  491 #if !defined(DOXY_FUNC) 
  494     #define ucportGetPIN(ucportID) (ucportGetTRISwOffset(ucportID, 2)) 
  495 #elif defined(__C32__) 
  497     #define ucportGetPIN(ucportID) (ucportGetTRISwOffset(ucportID, 0x20)) 
  499     #error "ucportGetPIN() not defined for this compiler!" 
  521 #if !defined(DOXY_FUNC) 
  524     #define portGetODC(portID) (portGetTRISwOffset(portID, 6)) 
  525 #elif defined(__C32__) 
  527     #define portGetODC(portID) (portGetTRISwOffset(portID, 0x40)) 
  529     #error "portGetODC() not defined for this compiler!" 
  551 #if !defined(DOXY_FUNC) 
  554     #define ucportGetODC(ucportID) (ucportGetTRISwOffset(ucportID, 6)) 
  555 #elif defined(__C32__) 
  558     #define ucportGetODC(ucportID) (ucportGetTRISwOffset(ucportID, 0x40)) 
  560     #error "ucportGetODC() not defined for this compiler!" 
  580 #if !defined(DOXY_FUNC) 
  581 #if defined(IOPORTS_OPTIMIZE_SIZE) 
  582 #define portGetTRIS(portID) portGetTRISwOffset(portID, 0) 
  623 #define portGetTRIS_MACRO(portID) ((portID>PORT_ID_MAX) ? (BITADR_NA) : TRIS_PORTID_BITADR_MAP[portID]) 
  638 #if !defined(DOXY_FUNC) 
  639 #if defined(IOPORTS_OPTIMIZE_SIZE) 
  640 #define ucportGetTRIS(ucportID) ucportGetTRISwOffset(ucportID, 0) 
  681 #if !defined(DOXY_FUNC) 
  682 #if defined(IOPORTS_OPTIMIZE_SIZE) 
  683 #define portGetCNPD(portID) portGetCNPDwOffset(portID, 0) 
  724 #if !defined(DOXY_FUNC) 
  725 #if defined(IOPORTS_OPTIMIZE_SIZE) 
  726 #define ucportGetCNPD(ucportID) ucportGetCNPDwOffset(ucportID, 0) 
  767 #if !defined(DOXY_FUNC) 
  770     #define ucportGetCNPU(ucportID) (ucportGetCNPDwOffset(ucportID, 0x18)) 
  771 #elif defined(__C32__) 
  774     #define ucportGetCNPU(ucportID) (ucportGetCNPDwOffset(ucportID, -0x10)) 
  776     #error "ucportGetCNPU() not defined for this compiler!" 
  797 #if !defined(DOXY_FUNC) 
  800     #define portGetCNPU(portID) (portGetCNPDwOffset(portID, 0x18)) 
  801 #elif defined(__C32__) 
  804     #define portGetCNPU(portID) (portGetCNPDwOffset(portID, -0x10)) 
  806     #error "portGetCNPU() not defined for this compiler!" 
  828 #if !defined(DOXY_FUNC) 
  831     #define ucportGetCNIE(ucportID) (ucportGetCNPDwOffset(ucportID, 0x0c)) 
  832 #elif defined(__C32__) 
  835     #define ucportGetCNIE(ucportID) (ucportGetCNPDwOffset(ucportID, 0x20)) 
  837     #error "ucportGetCNIE() not defined for this compiler!" 
  858 #if !defined(DOXY_FUNC) 
  861     #define portGetCNIE(portID) (portGetCNPDwOffset(portID, 0x0c)) 
  862 #elif defined(__C32__) 
  865     #define portGetCNIE(portID) (portGetCNPDwOffset(portID, 0x20)) 
  867     #error "portGetCNIE() not defined for this compiler!" 
  958 #if !defined(DOXY_FUNC) 
  959 #define digitalWrite(portID, value) portWrite(portID, value) 
  976 #if !defined(DOXY_FUNC) 
  977 #define digitalRead(portID) portRead(portID)