From: SourceForge.net <no...@so...> - 2012-10-22 22:36:14
|
Bugs item #3579271, was opened at 2012-10-22 15:33 Message generated for change (Comment added) made by slorquet You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3579271&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pic16 target Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Sebastien Lorquet (slorquet) Assigned to: Nobody/Anonymous (nobody) Summary: pic18f1220/pic18f1320 lacks some SFR definitions Initial Comment: hi, I'm now using the pic18h1320 for a smaller project. I noticed the following problems in non-free/include/pic16/pic18f1220.h: *lacking definitions: T1RUN:1 in union T1CONbits TRISA7:1 in union TRISAbits RA7:1 in union PORTAbits LATA7:1 in union LATAbits unsigned IRCF0:1; unsigned IRCF1:1; unsigned IRCF2:1; in union OSCCONbits Port A line 7 is implemented, and available in a certain internal oscillator configuration. *a new struct shall be added to the OSCCONbits union: struct { unsigned SCS:2; unsigned :2; unsigned IRCF:3; unsigned :1; }; *some bits are defined even if they have no sense (RA5 is an input only): LATA5 in union LATAbits TRISA4 in union TRISAbits Regards and thanks SDCC : mcs51/gbz80/z80/z180/r2k/ds390/pic16/pic14/TININative/ds400/hc08 3.1.0 #7066 (Nov 22 2011) (MINGW32) ---------------------------------------------------------------------- >Comment By: Sebastien Lorquet (slorquet) Date: 2012-10-22 15:36 Message: Of course I meant TRISA5, not TRISA4. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3579271&group_id=599 |