|
Open Model Railroad Network (OpenMRN)
|
Configuration resgister 2 structure. More...
Public Member Functions | |
| Config2 (uint8_t prseg, uint8_t prseg1, uint8_t sam, uint8_t bltmode) | |
| Constructor. | |
Public Attributes | ||
| union { | ||
| uint8_t data_ | ||
| raw data for register More... | ||
| struct { | ||
| uint8_t prseg_: 3 | ||
| propagation segment length bits More... | ||
| uint8_t prseg1_: 3 | ||
| PS1 length bits. More... | ||
| uint8_t sam_: 1 | ||
| sample point configuration bit More... | ||
| uint8_t bltmode_: 1 | ||
| PS2 bit time length bit. More... | ||
| } | ||
| }; | ||
Configuration resgister 2 structure.
Definition at line 313 of file MCP2515Can.hxx.
|
inline |
Constructor.
| prseg | initial value |
| prseg1 | initial value |
| sam | initial value |
| bltmode | initial value |
Definition at line 321 of file MCP2515Can.hxx.
| uint8_t MCP2515Can::Config2::bltmode_ |
PS2 bit time length bit.
Definition at line 337 of file MCP2515Can.hxx.
| uint8_t MCP2515Can::Config2::data_ |
raw data for register
Definition at line 331 of file MCP2515Can.hxx.
| uint8_t MCP2515Can::Config2::prseg1_ |
PS1 length bits.
Definition at line 335 of file MCP2515Can.hxx.
| uint8_t MCP2515Can::Config2::prseg_ |
propagation segment length bits
Definition at line 334 of file MCP2515Can.hxx.
| uint8_t MCP2515Can::Config2::sam_ |
sample point configuration bit
Definition at line 336 of file MCP2515Can.hxx.