Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
MCP2515Can::Config3 Struct Reference

Configuration resgister 3 structure. More...

Public Member Functions

 Config3 (uint8_t phseg2, uint8_t wakfil, uint8_t sof)
 Constructor.
 

Public Attributes

union { 
 
   uint8_t   data_ 
 raw data for register More...
 
   struct { 
 
      uint8_t   phseg2_: 3 
 PS2 length bits. More...
 
      uint8_t   unused_: 3 
 unused bits More...
 
      uint8_t   wakfil_: 1 
 wake-up filter bit More...
 
      uint8_t   sof_: 1 
 start of frame signal bit More...
 
   }  
 
};  
 

Detailed Description

Configuration resgister 3 structure.

Definition at line 343 of file MCP2515Can.hxx.

Constructor & Destructor Documentation

◆ Config3()

MCP2515Can::Config3::Config3 ( uint8_t  phseg2,
uint8_t  wakfil,
uint8_t  sof 
)
inline

Constructor.

Parameters
phseg2initial value
wakfilinitial value
sofinitial value

Definition at line 350 of file MCP2515Can.hxx.

Member Data Documentation

◆ data_

uint8_t MCP2515Can::Config3::data_

raw data for register

Definition at line 360 of file MCP2515Can.hxx.

◆ phseg2_

uint8_t MCP2515Can::Config3::phseg2_

PS2 length bits.

Definition at line 363 of file MCP2515Can.hxx.

◆ sof_

uint8_t MCP2515Can::Config3::sof_

start of frame signal bit

Definition at line 366 of file MCP2515Can.hxx.

◆ unused_

uint8_t MCP2515Can::Config3::unused_

unused bits

Definition at line 364 of file MCP2515Can.hxx.

◆ wakfil_

uint8_t MCP2515Can::Config3::wakfil_

wake-up filter bit

Definition at line 365 of file MCP2515Can.hxx.


The documentation for this struct was generated from the following file: