4.5.6 Predefined Symbols
The assembler predefines several symbols which can be tested by conditional directives in source code.
Symbol | Definition |
---|---|
Device Family Symbols | |
__C30ELF |
16-bit compiler ELF output |
__dsPIC30F |
dsPIC30F target device family |
__dsPIC33F |
dsPIC33F target device family |
__dsPIC33E |
dsPIC33EP target device family |
__MCHP16 |
No target device family specified |
Feature Symbols | |
__HAS_DSP |
Device has a DSP engine |
__HAS_EEDATA |
Device has EEDATA memory |
__HAS_DMA |
Device has DMA memory |
__HAS_DMAV2 |
Device has DMA v2 support |
__HAS_CODEGUARD |
Device has Codeguard™ Security |
__HAS_PMP |
Device has Parallel Master Port (PMP) |
__HAS_PMPV2 |
Device has PMP v2 support |
__HAS_PMP_ENHANCED |
Device has Enhanced PMP |
__HAS_EDS |
Device has EDS |
__HAS_5VOLTS |
Device is a 5-volt device |