TCAN4550  1p1
TCAN4x5x_Device_Interrupts_Struct Struct Reference

Struct containing the device interrupt bit field. More...

#include <TCAN4x5x_Data_Structs.h>

Data Fields

union {
   uint32_t   word
 Full register as single 32-bit word. More...
 
   struct {
      uint8_t   VTWD: 1
 DEV_IR[0] VTWD: Global Voltage, Temp, or Watchdog (if equipped) Interrupt. More...
 
      uint8_t   M_CAN_INT: 1
 DEV_IR[1] M_CAN_INT: There are MCAN interrupts pending. More...
 
      uint8_t   SWERR: 1
 DEV_IR[2] : Selective Wake Error (If equipped) More...
 
      uint8_t   SPIERR: 1
 DEV_IR[3] : SPI Error. More...
 
      uint8_t   CBF: 1
 DEV_IR[4] : CBF, CAN Bus Fault. More...
 
      uint8_t   CANERR: 1
 DEV_IR[5] : CANERR, CAN Error. More...
 
      uint8_t   WKRQ: 1
 DEV_IR[6] : WKRQ, Wake Request. More...
 
      uint8_t   GLOBALERR: 1
 DEV_IR[7] : GLOBALERR, Global Error. Is the OR output of all interrupts. More...
 
      uint8_t   CANDOM: 1
 DEV_IR[8] : CANDOM, Can bus stuck dominant. More...
 
      uint8_t   RESERVED: 1
 DEV_IR[9] : RESERVED. More...
 
      uint8_t   CANTO: 1
 DEV_IR[10] : CANTO, CAN Timeout. More...
 
      uint8_t   RESERVED2: 1
 DEV_IR[11] : RESERVED. More...
 
      uint8_t   FRAME_OVF: 1
 DEV_IR[12] : FRAME_OVF, Frame Error Overflow (If Selective Wake is equipped) More...
 
      uint8_t   WKERR: 1
 DEV_IR[13] : WKERR, Wake Error. More...
 
      uint8_t   LWU: 1
 DEV_IR[14] : LWU, Local Wake Up. More...
 
      uint8_t   CANINT: 1
 DEV_IR[15] : CANINT, CAN Bus Wake Up Interrupt. More...
 
      uint8_t   ECCERR: 1
 DEV_IR[16] : ECCERR, MRAM ECC Error. More...
 
      uint8_t   RESERVED3: 1
 DEV_IR[17] : Reserved. More...
 
      uint8_t   WDTO: 1
 DEV_IR[18] : WDTO, Watchdog Time Out. More...
 
      uint8_t   TSD: 1
 DEV_IR[19] : TSD, Thermal Shut Down. More...
 
      uint8_t   PWRON: 1
 DEV_IR[20] : PWRON, Power On Interrupt. More...
 
      uint8_t   UVIO: 1
 DEV_IR[21] : UVIO, Undervoltage on UVIO. More...
 
      uint8_t   UVSUP: 1
 DEV_IR[22] : UVSUP, Undervoltage on VSUP and VCCOUT. More...
 
      uint8_t   SMS: 1
 DEV_IR[23] : SMS, Sleep Mode Status Flag. Set when sleep mode is entered due to WKERR, UVIO, or TSD faults. More...
 
      uint8_t   CANBUSBAT: 1
 DEV_IR[24] : CANBUSBAT, CAN Shorted to VBAT. More...
 
      uint8_t   CANBUSGND: 1
 DEV_IR[25] : CANBUSGND, CAN Shorted to GND. More...
 
      uint8_t   CANBUSOPEN: 1
 DEV_IR[26] : CANBUSOPEN, CAN Open fault. More...
 
      uint8_t   CANLGND: 1
 DEV_IR[27] : CANLGND, CANL GND. More...
 
      uint8_t   CANHBAT: 1
 DEV_IR[28] : CANHBAT, CANH to VBAT. More...
 
      uint8_t   CANHCANL: 1
 DEV_IR[29] : CANHCANL, CANH and CANL shorted. More...
 
      uint8_t   CANBUSTERMOPEN: 1
 DEV_IR[30] : CANBUSTERMOPEN, CAN Bus has termination point open. More...
 
      uint8_t   CANBUSNORM: 1
 DEV_IR[31] : CANBUSNOM, CAN Bus is normal flag. More...
 
   } 
 
}; 
 

Detailed Description

Struct containing the device interrupt bit field.

Definition at line 696 of file TCAN4x5x_Data_Structs.h.

Field Documentation

◆ @17

union { ... }

◆ CANBUSBAT

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANBUSBAT

DEV_IR[24] : CANBUSBAT, CAN Shorted to VBAT.

Definition at line 778 of file TCAN4x5x_Data_Structs.h.

◆ CANBUSGND

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANBUSGND

DEV_IR[25] : CANBUSGND, CAN Shorted to GND.

Definition at line 781 of file TCAN4x5x_Data_Structs.h.

◆ CANBUSNORM

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANBUSNORM

DEV_IR[31] : CANBUSNOM, CAN Bus is normal flag.

Definition at line 799 of file TCAN4x5x_Data_Structs.h.

◆ CANBUSOPEN

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANBUSOPEN

DEV_IR[26] : CANBUSOPEN, CAN Open fault.

Definition at line 784 of file TCAN4x5x_Data_Structs.h.

◆ CANBUSTERMOPEN

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANBUSTERMOPEN

DEV_IR[30] : CANBUSTERMOPEN, CAN Bus has termination point open.

Definition at line 796 of file TCAN4x5x_Data_Structs.h.

◆ CANDOM

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANDOM

DEV_IR[8] : CANDOM, Can bus stuck dominant.

Definition at line 730 of file TCAN4x5x_Data_Structs.h.

◆ CANERR

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANERR

DEV_IR[5] : CANERR, CAN Error.

Definition at line 721 of file TCAN4x5x_Data_Structs.h.

◆ CANHBAT

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANHBAT

DEV_IR[28] : CANHBAT, CANH to VBAT.

Definition at line 790 of file TCAN4x5x_Data_Structs.h.

◆ CANHCANL

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANHCANL

DEV_IR[29] : CANHCANL, CANH and CANL shorted.

Definition at line 793 of file TCAN4x5x_Data_Structs.h.

◆ CANINT

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANINT

DEV_IR[15] : CANINT, CAN Bus Wake Up Interrupt.

Definition at line 751 of file TCAN4x5x_Data_Structs.h.

◆ CANLGND

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANLGND

DEV_IR[27] : CANLGND, CANL GND.

Definition at line 787 of file TCAN4x5x_Data_Structs.h.

◆ CANTO

uint8_t TCAN4x5x_Device_Interrupts_Struct::CANTO

DEV_IR[10] : CANTO, CAN Timeout.

Definition at line 736 of file TCAN4x5x_Data_Structs.h.

◆ CBF

uint8_t TCAN4x5x_Device_Interrupts_Struct::CBF

DEV_IR[4] : CBF, CAN Bus Fault.

Definition at line 718 of file TCAN4x5x_Data_Structs.h.

◆ ECCERR

uint8_t TCAN4x5x_Device_Interrupts_Struct::ECCERR

DEV_IR[16] : ECCERR, MRAM ECC Error.

Definition at line 754 of file TCAN4x5x_Data_Structs.h.

◆ FRAME_OVF

uint8_t TCAN4x5x_Device_Interrupts_Struct::FRAME_OVF

DEV_IR[12] : FRAME_OVF, Frame Error Overflow (If Selective Wake is equipped)

Definition at line 742 of file TCAN4x5x_Data_Structs.h.

◆ GLOBALERR

uint8_t TCAN4x5x_Device_Interrupts_Struct::GLOBALERR

DEV_IR[7] : GLOBALERR, Global Error. Is the OR output of all interrupts.

Definition at line 727 of file TCAN4x5x_Data_Structs.h.

◆ LWU

uint8_t TCAN4x5x_Device_Interrupts_Struct::LWU

DEV_IR[14] : LWU, Local Wake Up.

Definition at line 748 of file TCAN4x5x_Data_Structs.h.

◆ M_CAN_INT

uint8_t TCAN4x5x_Device_Interrupts_Struct::M_CAN_INT

DEV_IR[1] M_CAN_INT: There are MCAN interrupts pending.

Definition at line 709 of file TCAN4x5x_Data_Structs.h.

◆ PWRON

uint8_t TCAN4x5x_Device_Interrupts_Struct::PWRON

DEV_IR[20] : PWRON, Power On Interrupt.

Definition at line 766 of file TCAN4x5x_Data_Structs.h.

Referenced by Init_CAN().

◆ RESERVED

uint8_t TCAN4x5x_Device_Interrupts_Struct::RESERVED

DEV_IR[9] : RESERVED.

Definition at line 733 of file TCAN4x5x_Data_Structs.h.

◆ RESERVED2

uint8_t TCAN4x5x_Device_Interrupts_Struct::RESERVED2

DEV_IR[11] : RESERVED.

Definition at line 739 of file TCAN4x5x_Data_Structs.h.

◆ RESERVED3

uint8_t TCAN4x5x_Device_Interrupts_Struct::RESERVED3

DEV_IR[17] : Reserved.

Definition at line 757 of file TCAN4x5x_Data_Structs.h.

◆ SMS

uint8_t TCAN4x5x_Device_Interrupts_Struct::SMS

DEV_IR[23] : SMS, Sleep Mode Status Flag. Set when sleep mode is entered due to WKERR, UVIO, or TSD faults.

Definition at line 775 of file TCAN4x5x_Data_Structs.h.

◆ SPIERR

uint8_t TCAN4x5x_Device_Interrupts_Struct::SPIERR

DEV_IR[3] : SPI Error.

Definition at line 715 of file TCAN4x5x_Data_Structs.h.

◆ SWERR

uint8_t TCAN4x5x_Device_Interrupts_Struct::SWERR

DEV_IR[2] : Selective Wake Error (If equipped)

Definition at line 712 of file TCAN4x5x_Data_Structs.h.

◆ TSD

uint8_t TCAN4x5x_Device_Interrupts_Struct::TSD

DEV_IR[19] : TSD, Thermal Shut Down.

Definition at line 763 of file TCAN4x5x_Data_Structs.h.

◆ UVIO

uint8_t TCAN4x5x_Device_Interrupts_Struct::UVIO

DEV_IR[21] : UVIO, Undervoltage on UVIO.

Definition at line 769 of file TCAN4x5x_Data_Structs.h.

◆ UVSUP

uint8_t TCAN4x5x_Device_Interrupts_Struct::UVSUP

DEV_IR[22] : UVSUP, Undervoltage on VSUP and VCCOUT.

Definition at line 772 of file TCAN4x5x_Data_Structs.h.

◆ VTWD

uint8_t TCAN4x5x_Device_Interrupts_Struct::VTWD

DEV_IR[0] VTWD: Global Voltage, Temp, or Watchdog (if equipped) Interrupt.

Definition at line 706 of file TCAN4x5x_Data_Structs.h.

◆ WDTO

uint8_t TCAN4x5x_Device_Interrupts_Struct::WDTO

DEV_IR[18] : WDTO, Watchdog Time Out.

Definition at line 760 of file TCAN4x5x_Data_Structs.h.

◆ WKERR

uint8_t TCAN4x5x_Device_Interrupts_Struct::WKERR

DEV_IR[13] : WKERR, Wake Error.

Definition at line 745 of file TCAN4x5x_Data_Structs.h.

◆ WKRQ

uint8_t TCAN4x5x_Device_Interrupts_Struct::WKRQ

DEV_IR[6] : WKRQ, Wake Request.

Definition at line 724 of file TCAN4x5x_Data_Structs.h.

◆ word

uint32_t TCAN4x5x_Device_Interrupts_Struct::word

Full register as single 32-bit word.

Definition at line 701 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_ClearInterrupts(), and TCAN4x5x_Device_ReadInterrupts().


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