hello,
I just write a function for the initialization of the CAN modules. Now I have the
following problem. I pass the number of the CAN module which should be initialized. This
is stored in the variable CANm for example 0 for the CAN module 0. Now I wanted to switch
on the modul, e.g.,
CANm + CANCTL0 = 0x01;
But I always get the error message that CANCTL0 is not defined. I am using a cosmic
compiler.
With CAN0CTL0= 0x01; it works.
CANm + CANCTL0 I have found in the internet but this does not work.
Could someone tell me what is wrong or how I can solve the problem?
Best regards
------------------------------------

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )