c - Is this valid code? extern marked with @ and address, from PIC microcontroller libraries -


this question has answer here:

i used clang perform analysis on code pic18 microcontroller. gets lots of errors , seem caused lines in headers this.

extern volatile unsigned char ansela @ 0xf38; 

i understand doing, mapping symbol register on chip, standard c or microchip extension compilers?

however standard c or microchip extension compilers?

it not standard c common extension used c embedded compilers.

see answer here on specific topic:

@ sign in c variable declaration


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -