canfd6 2.0.0.0
canfd6_device_interrupts_t Struct Reference

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 
 
   }  
 
};  
 

Detailed Description

CAN FD 6 Click device interrupt bit field struct.

Struct containing the device interrupt bit field.

Field Documentation

◆ [union]

union { ... }

◆ CANBUSBAT

uint8_t CANBUSBAT

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

◆ CANBUSGND

uint8_t CANBUSGND

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

◆ CANBUSNORM

uint8_t CANBUSNORM

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

◆ CANBUSOPEN

uint8_t CANBUSOPEN

DEV_IR[26] : CANBUSOPEN, CAN Open fault.

◆ CANBUSTERMOPEN

uint8_t CANBUSTERMOPEN

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

◆ CANDOM

uint8_t CANDOM

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

◆ CANERR

uint8_t CANERR

DEV_IR[5] : CANERR, CAN Error.

◆ CANHBAT

uint8_t CANHBAT

DEV_IR[28] : CANHBAT, CANH to VBAT.

◆ CANHCANL

uint8_t CANHCANL

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

◆ CANINT

uint8_t CANINT

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

◆ CANLGND

uint8_t CANLGND

DEV_IR[27] : CANLGND, CANL GND.

◆ CANTO

uint8_t CANTO

DEV_IR[10] : CANTO, CAN Timeout.

◆ CBF

uint8_t CBF

DEV_IR[4] : CBF, CAN Bus Fault.

◆ ECCERR

uint8_t ECCERR

DEV_IR[16] : ECCERR, MRAM ECC Error.

◆ FRAME_OVF

uint8_t FRAME_OVF

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

◆ GLOBALERR

uint8_t GLOBALERR

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

◆ LWU

uint8_t LWU

DEV_IR[14] : LWU, Local Wake Up.

◆ M_CAN_INT

uint8_t M_CAN_INT

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

◆ PWRON

uint8_t PWRON

DEV_IR[20] : PWRON, Power On Interrupt.

◆ RESERVED

uint8_t RESERVED

DEV_IR[9] : RESERVED.

◆ RESERVED2

uint8_t RESERVED2

DEV_IR[11] : RESERVED.

◆ RESERVED3

uint8_t RESERVED3

DEV_IR[17] : RESERVED.

◆ SMS

uint8_t SMS

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

◆ SPIERR

uint8_t SPIERR

DEV_IR[3] : SPI Error.

◆ SWERR

uint8_t SWERR

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

◆ TSD

uint8_t TSD

DEV_IR[19] : TSD, Thermal Shut Down.

◆ UVIO

uint8_t UVIO

DEV_IR[21] : UVIO, Undervoltage on UVIO.

◆ UVSUP

uint8_t UVSUP

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

◆ VTWD

uint8_t VTWD

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

◆ WDTO

uint8_t WDTO

DEV_IR[18] : WDTO, Watchdog Time Out.

◆ WKERR

uint8_t WKERR

DEV_IR[13] : WKERR, Wake Error.

◆ WKRQ

uint8_t WKRQ

DEV_IR[6] : WKRQ, Wake Request.

◆ word

uint32_t word

Full register represented as a 32-bit word.


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