Available Languages?:

OSA : Predefined constants

Constant name Notes

System

__OSA_VERISON__ Current OSA version in format: YYMMDD
YY, MM and DD are year, month and day of release

Chip type

__OSA_PIC12__ PIC10 or 12-bit PIC12
__OSA_PIC16__ PIC16 or 14-bit PIC12
__OSA_PIC16E__ PIC12F1xxx or PIC16F1xxx
__OSA_PIC18__
__OSA_DSPIC__ dsPIC30 or dsPIC33
__OSA_PIC24__ PIC24F, PIC24FK or PIC24H
__OSA_PIC24F__
__OSA_PIC24FK__
__OSA_PIC24H__
__OSA_DSPIC30__
__OSA_DSPIC33__
__OSA_AVR__ 8-bit AVR
__OSA_STM8__

Compiler type

__OSA_CCS__ CCS PICC
__OSA_HTPICC__ HiTech PICC STD
__OSA_HTPICC_PRO__ HiTech PICC PRO
__OSA_MPLABC__ MPLABC18 or MPLABC30
__OSA_MIKROC__ MikroC PRO (ver 3.0 and greater)
__OSA_WINAVR__ WinVAR
__OSA_IAR__ IAR
__OSA_COSMIC__ Cosmic

Chip and compiler

__OSA_PIC12_HTPICC__
__OSA_PIC16_CCS__
__OSA_PIC16_HTPICC__
__OSA_PIC16_MIKROC__
__OSA_PIC16E_HTPICC_PRO__
__OSA_PIC18_HTPICC__
__OSA_PIC18_MPLABC__
__OSA_PIC18_MPLABC_EXT__
__OSA_PIC18_CCS__
__OSA_PIC18_MIKROC__
__OSA_PIC24_MPLABC__ Same as __OS_DSPIC_MPLABC__
__OSA_DSPIC_MPLABC__ Same as __OS_PIC24_MPLABC__
__OSA_AVR_WINAVR__
__OSA_AVR_IAR__
__OSA_STM8_COSMIC__
 
en/osa/ref/description/predefined.txt · Last modified: 07.10.2010 13:58 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki