Hi, ADCON0bits struct def seems to miss CHS bit field which is available for 18F4550 in pic18f4550.h
Also CHS0..CHS3 are missing. Further pic18f4550.h defines GO_NOT_DONE, GO, NOT_DONE and DONE fields for ADCON0, last of which seems wrong because the bit meaning is "go/not done" so DONE does not make sense. Where do these definitions come from, do they have Microchip origins or is this just a regular typo/bug in SDCC? Should I file a bug report? I'm using sdcc 3.4.0 wbr Kusti ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user