/// Transmit Buffer (write) Receive Buffer (read) Frame Information
SJAFRM = 0x10,
/// ID bytes (11 bits in 0 and 1 or 16 bits in 0,1 and 13 bits in 2,3 (extended))
- SJAID0 = 0x11, SJAID1 = 0x12,
+ SJAID0 = 0x11, SJAID1 = 0x12,
/// ID cont. for extended frames
SJAID2 = 0x13, SJAID3 = 0x14,
/// Data start standard frame
/// Acceptance Mask (4 bytes) in RESET mode
SJAAMR0 = 0x14,
/// 4 bytes
- SJA_PeliCAN_AC_LEN = 4,
+ SJA_PeliCAN_AC_LEN = 4,
/// Clock Divider
SJACDR = 0x1f
};
};
/** Command Register 0x01 */
-enum sja1000_PeliCAN_CMR {
+enum sja1000_PeliCAN_CMR {
sjaCMR_SRR= 1<<4, // Self Reception Request (GoToSleep in BASIC mode)
sjaCMR_CDO= 1<<3, // Clear Data Overrun
sjaCMR_RRB= 1<<2, // Release Receive Buffer
sjaIER_RIE = 1, // Receive Interrupt Enable
sjaENABLE_INTERRUPTS = sjaIER_BEIE|sjaIER_EPIE|sjaIER_DOIE|sjaIER_EIE|sjaIER_TIE|sjaIER_RIE,
sjaDISABLE_INTERRUPTS = 0
-// WARNING: the chip automatically enters RESET (bus off) mode when
+// WARNING: the chip automatically enters RESET (bus off) mode when
// error counter > 255
};