TCAN4550
1p2
|
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... | |
} | |
}; | |
Struct containing the device interrupt bit field.
Definition at line 794 of file TCAN4x5x_Data_Structs.h.
union { ... } |
uint8_t TCAN4x5x_Device_Interrupts::CANBUSBAT |
DEV_IR[24] : CANBUSBAT, CAN Shorted to VBAT.
Definition at line 876 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANBUSGND |
DEV_IR[25] : CANBUSGND, CAN Shorted to GND.
Definition at line 879 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANBUSNORM |
DEV_IR[31] : CANBUSNOM, CAN Bus is normal flag.
Definition at line 897 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANBUSOPEN |
DEV_IR[26] : CANBUSOPEN, CAN Open fault.
Definition at line 882 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANBUSTERMOPEN |
DEV_IR[30] : CANBUSTERMOPEN, CAN Bus has termination point open.
Definition at line 894 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANDOM |
DEV_IR[8] : CANDOM, Can bus stuck dominant.
Definition at line 828 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANERR |
DEV_IR[5] : CANERR, CAN Error.
Definition at line 819 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANHBAT |
DEV_IR[28] : CANHBAT, CANH to VBAT.
Definition at line 888 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANHCANL |
DEV_IR[29] : CANHCANL, CANH and CANL shorted.
Definition at line 891 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANINT |
DEV_IR[15] : CANINT, CAN Bus Wake Up Interrupt.
Definition at line 849 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANLGND |
DEV_IR[27] : CANLGND, CANL GND.
Definition at line 885 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CANTO |
DEV_IR[10] : CANTO, CAN Timeout.
Definition at line 834 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::CBF |
DEV_IR[4] : CBF, CAN Bus Fault.
Definition at line 816 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::ECCERR |
DEV_IR[16] : ECCERR, MRAM ECC Error.
Definition at line 852 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::FRAME_OVF |
DEV_IR[12] : FRAME_OVF, Frame Error Overflow (If Selective Wake is equipped)
Definition at line 840 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::GLOBALERR |
DEV_IR[7] : GLOBALERR, Global Error. Is the OR output of all interrupts.
Definition at line 825 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::LWU |
DEV_IR[14] : LWU, Local Wake Up.
Definition at line 846 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::M_CAN_INT |
DEV_IR[1] M_CAN_INT: There are MCAN interrupts pending.
Definition at line 807 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::PWRON |
DEV_IR[20] : PWRON, Power On Interrupt.
Definition at line 864 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::RESERVED |
DEV_IR[9] : RESERVED.
Definition at line 831 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::RESERVED2 |
DEV_IR[11] : RESERVED.
Definition at line 837 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::RESERVED3 |
DEV_IR[17] : Reserved.
Definition at line 855 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::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 873 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::SPIERR |
DEV_IR[3] : SPI Error.
Definition at line 813 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::SWERR |
DEV_IR[2] : Selective Wake Error (If equipped)
Definition at line 810 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::TSD |
DEV_IR[19] : TSD, Thermal Shut Down.
Definition at line 861 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::UVIO |
DEV_IR[21] : UVIO, Undervoltage on UVIO.
Definition at line 867 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::UVSUP |
DEV_IR[22] : UVSUP, Undervoltage on VSUP and VCCOUT.
Definition at line 870 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::VTWD |
DEV_IR[0] VTWD: Global Voltage, Temp, or Watchdog (if equipped) Interrupt.
Definition at line 804 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::WDTO |
DEV_IR[18] : WDTO, Watchdog Time Out.
Definition at line 858 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::WKERR |
DEV_IR[13] : WKERR, Wake Error.
Definition at line 843 of file TCAN4x5x_Data_Structs.h.
uint8_t TCAN4x5x_Device_Interrupts::WKRQ |
DEV_IR[6] : WKRQ, Wake Request.
Definition at line 822 of file TCAN4x5x_Data_Structs.h.
uint32_t TCAN4x5x_Device_Interrupts::word |
Full register as single 32-bit word.
Definition at line 799 of file TCAN4x5x_Data_Structs.h.
Referenced by TCAN4x5x_Device_ClearInterrupts(), and TCAN4x5x_Device_ReadInterrupts().