Dependents: Kamal_CAN ReadFromSerial446 USNA-UMBC-KF-02_v3-noise USNA-UMBC-KF-01
Diff: mcp2515_bittime.h
- Revision:
- 1:dbc44582f2f8
- Parent:
- 0:d8f50b1e384f
diff -r d8f50b1e384f -r dbc44582f2f8 mcp2515_bittime.h --- a/mcp2515_bittime.h Sat Jan 30 08:46:04 2010 +0000 +++ b/mcp2515_bittime.h Sun Jun 13 09:52:03 2010 +0000 @@ -74,10 +74,8 @@ #define MCP_4MHz_125kBPS_CFG1 (MCP_4MHz_125kBPS_SJW | MCP_4MHz_125kBPS_BRP) -#define MCP_4MHz_125kBPS_CFG2 (MCP_4MHz_125kBPS_BLTMODE | MCP_4MHz_125kBPS_SAM | \ - MCP_4MHz_125kBPS_PHSEG1 | MCP_4MHz_125kBPS_PRSEG) -#define MCP_4MHz_125kBPS_CFG3 (MCP_GENERAL_SOF | MCP_GENERAL_WAKFIL | \ - MCP_4MHz_125kBPS_PHSEG) +#define MCP_4MHz_125kBPS_CFG2 (MCP_4MHz_125kBPS_BLTMODE | MCP_4MHz_125kBPS_SAM | MCP_4MHz_125kBPS_PHSEG1 | MCP_4MHz_125kBPS_PRSEG) +#define MCP_4MHz_125kBPS_CFG3 (MCP_GENERAL_SOF | MCP_GENERAL_WAKFIL | MCP_4MHz_125kBPS_PHSEG) /*-----------------------*/ @@ -119,7 +117,5 @@ #define MCP_4MHz_20kBPS_CFG1 (MCP_4MHz_20kBPS_SJW | MCP_4MHz_20kBPS_BRP) -#define MCP_4MHz_20kBPS_CFG2 (MCP_4MHz_20kBPS_BLTMODE | MCP_4MHz_20kBPS_SAM | \ - MCP_4MHz_20kBPS_PHSEG1 | MCP_4MHz_20kBPS_PRSEG) -#define MCP_4MHz_20kBPS_CFG3 (MCP_GENERAL_SOF | MCP_GENERAL_WAKFIL | \ - MCP_4MHz_20kBPS_PHSEG) +#define MCP_4MHz_20kBPS_CFG2 (MCP_4MHz_20kBPS_BLTMODE | MCP_4MHz_20kBPS_SAM | MCP_4MHz_20kBPS_PHSEG1 | MCP_4MHz_20kBPS_PRSEG) +#define MCP_4MHz_20kBPS_CFG3 (MCP_GENERAL_SOF | MCP_GENERAL_WAKFIL | MCP_4MHz_20kBPS_PHSEG)