diff --git a/306-controller_interface.X/mcc_generated_files/ecan.c b/306-controller_interface.X/mcc_generated_files/ecan.c index 8b2c89b..e1bfd4d 100644 --- a/306-controller_interface.X/mcc_generated_files/ecan.c +++ b/306-controller_interface.X/mcc_generated_files/ecan.c @@ -130,17 +130,21 @@ void ECAN_Initialize(void) /* * ENABLE FILTERS * - * Filter 0 set on mask 0 - * Filter 1 set on mask 0 - * Filter 2 set on mask 1 + * RXF7EN RXF6EN RXF5EN RXF4EN RXF3EN RXF2EN RXF1EN RXF0EN + * 0b 00000111 */ RXFCON0 = 0x07; - /** - Assign Filters to Masks - */ - // Filter 0 & 1 assigned to mask 0 and filter 2 assigned to mask 1 + /* + * Assign Filters to Masks + * + * Filter 0 set on mask 0 + * Filter 1 set on mask 0 + * Filter 2 set on mask 1 + * 0b F3 F2 F1 F0 + * 0b 00 01 00 00 + */ MSEL0 = 0x10; /**