Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
TCAN4550Can::SPIMessage Struct Reference

SPI message for read/write commands. More...

Public Attributes

union { 
 
   uint64_t   payload64 
 raw payload as 64-bit value More...
 
   uint32_t   payload32 [2] 
 raw paylaod as 32-bit array More...
 
   uint8_t   payload [8] 
 raw payload More...
 
   struct { 
 
      uint8_t   length 
 length in words More...
 
      uint8_t   addrL 
 register address LSB More...
 
      uint8_t   addrH 
 register address MSB More...
 
      union { 
 
         uint8_t   cmd 
 command More...
 
         uint8_t   status 
 bits 0..7 of INTERRUPT_STATUS More...
 
      }  
 
      uint32_t   data 
 data word More...
 
   }  
 
};  
 
union { 
 
   uint64_t   payload64 
 raw payload as 64-bit value More...
 
   uint32_t   payload32 [2] 
 raw paylaod as 32-bit array More...
 
   uint8_t   payload [8] 
 raw payload More...
 
   struct { 
 
      uint8_t   length 
 length in words More...
 
      uint8_t   addrL 
 register address LSB More...
 
      uint8_t   addrH 
 register address MSB More...
 
      union { 
 
         uint8_t   cmd 
 command More...
 
         uint8_t   status 
 bits 0..7 of INTERRUPT_STATUS More...
 
      }  
 
      uint32_t   data 
 data word More...
 
   }  
 
};  
 

Detailed Description

SPI message for read/write commands.

Definition at line 867 of file MCAN.hxx.

Member Data Documentation

◆ addrH

uint8_t TCAN4550Can::SPIMessage::addrH

register address MSB

Definition at line 878 of file MCAN.hxx.

◆ addrL

uint8_t TCAN4550Can::SPIMessage::addrL

register address LSB

Definition at line 877 of file MCAN.hxx.

◆ cmd

uint8_t TCAN4550Can::SPIMessage::cmd

command

Definition at line 881 of file MCAN.hxx.

◆ data

uint32_t TCAN4550Can::SPIMessage::data

data word

Definition at line 884 of file MCAN.hxx.

◆ length

uint8_t TCAN4550Can::SPIMessage::length

length in words

Definition at line 876 of file MCAN.hxx.

◆ payload

uint8_t TCAN4550Can::SPIMessage::payload[8]

raw payload

Definition at line 873 of file MCAN.hxx.

◆ payload32

uint32_t TCAN4550Can::SPIMessage::payload32[2]

raw paylaod as 32-bit array

Definition at line 872 of file MCAN.hxx.

◆ payload64

uint64_t TCAN4550Can::SPIMessage::payload64

raw payload as 64-bit value

Definition at line 871 of file MCAN.hxx.

◆ status

uint8_t TCAN4550Can::SPIMessage::status

bits 0..7 of INTERRUPT_STATUS

Definition at line 882 of file MCAN.hxx.


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