--- a/include/hcs12/candriver.h Tue May 16 17:18:56 2006 +0200
+++ b/include/hcs12/candriver.h Tue May 16 17:21:14 2006 +0200
@@ -168,6 +168,7 @@
extern canBusInit bi;
+
/*
For the received messsage, add a Identificator to
the list of ID to accept.
@@ -189,6 +190,12 @@
);
/*
+ Use this function to change the CAN message acceptance filters and masks.
+ */
+char canChangeFilter (UNS16 adrCAN, canBusFilterInit fi);
+
+
+/*
Enable one of the 5 MSCAN.
Must be done only one time after a reset of the CPU.
To do before any CAN initialisation
@@ -286,6 +293,11 @@
);
/*
+ Set the interruptions. Must be call just after having left the init mode.
+ */
+char canSetInterrupt (UNS16 adrCAN);
+
+/*
Put one of the 5 mscan in sleep mode
Beware! If some messages are to be sent,
or if it is receiving, going into sleep mode