I am trying to work with the timers in PIC18F27K42, Timer0, 1, 2 works good but unfortunately 3 to 6 do not work, below is the error I receive at compilation, may I request someone to point out the mistake I am doing.
Thank you.xxxxxxxxxxxxxxxxxxxxxxxxxxxx.c: FCM_Micro_Initialization()
20987: PIE4bits.TMR6IE = 1;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S162
xxxxxxxxxxxxxxxxxxxxxxxxxxxx.c: default_isr()
28253: if ((PIR4bits.TMR6IF) && (PIE4bits.TMR6IE))
^ (255) not a member of the struct/union ""
^ (255) not a member of the struct/union ""
(199) logical type required ^
(199) logical type required ^
28256: PIR4bits.TMR6IF = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S188
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
Abhi