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