Re: [Sdcc-user] ADCON0bits.CHS missing from pic18f45k50.h
Hello, The sddc headers are generated from Microchip assembly processor header files (.inc). Here is the source ( p18f45k50.inc ): ;- ADCON0 Bits - ADON EQU H'' GO_NOT_DONE EQU H'0001' DONE EQU H'0001'
[Sdcc-user] ADCON0bits.CHS missing from pic18f45k50.h
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