fix filters comments

This commit is contained in:
Rémi Heredero 2023-08-29 08:31:52 +02:00
parent 4a44fe6fbf
commit 59edb49d5c

View File

@ -130,17 +130,21 @@ void ECAN_Initialize(void)
/* /*
* ENABLE FILTERS * ENABLE FILTERS
* *
* Filter 0 set on mask 0 * RXF7EN RXF6EN RXF5EN RXF4EN RXF3EN RXF2EN RXF1EN RXF0EN
* Filter 1 set on mask 0 * 0b 00000111
* Filter 2 set on mask 1
*/ */
RXFCON0 = 0x07; RXFCON0 = 0x07;
/** /*
Assign Filters to Masks * Assign Filters to Masks
*/ *
// Filter 0 & 1 assigned to mask 0 and filter 2 assigned to mask 1 * 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; MSEL0 = 0x10;
/** /**