TCAN4550  1p2
TCAN4x5x_DEV_CONFIG Struct Reference

#include <TCAN4x5x_Data_Structs.h>

Data Fields

union {
   uint32_t   word
 Full word for register. More...
 
   struct {
      uint8_t   RESERVED0: 1
 DEV_MODE_PINS[0] : Test mode configuration. Reserved in this struct It is recommended to use the test mode function to enable or disable test mode rather than this struct. More...
 
      uint8_t   SWE_DIS: 1
 DEV_MODE_PINS[1] : Sleep wake error disable. Setting this to 1 will disable the 4 minute timer that puts the part back to sleep if no activity is detected. More...
 
      uint8_t   DEVICE_RESET: 1
 DEV_MODE_PINS[2] : Device reset. Write a 1 to perform a reset on the part. More...
 
      uint8_t   WD_EN: 1
 DEV_MODE_PINS[3] : Watchdog Enable. Use the watchdog functions to control enabling the watchdog. More...
 
      uint8_t   RESERVED1: 4
 Reserved. More...
 
      uint8_t   nWKRQ_CONFIG: 1
 DEV_MODE_PINS[8] : nWKRQ Configuration 0: Mirrors INH function 1: Wake request interrupt. More...
 
      uint8_t   INH_DIS: 1
 DEV_MODE_PINS[9] : Inhibit pin disable. More...
 
      TCAN4x5x_DEV_CONFIG_GPO1_CONFIG   GPIO1_GPO_CONFIG: 2
 DEV_MODE_PINS[11:10] : GPIO1 pin as a GPO function configuration Configures the behavior of GPIO1 if it is configured to be a GPO Available values are: TCAN4x5x_DEV_CONFIG_GPO1_SPI_FAULT_INT : Active low output for a SPIERR TCAN4x5x_DEV_CONFIG_GPO1_MCAN_INT1 : Active low output for MCAN_INT1 output (See MCAN ILE and ILS registers to use) TCAN4x5x_DEV_CONFIG_GPO1_UNDER_VOLTAGE_OR_THERMAL_INT : Active low output for any under voltage or over temp interrupt. More...
 
      uint8_t   RESERVED2: 1
 Reserved. More...
 
      uint8_t   FAIL_SAFE_EN: 1
 DEV_MODE_PINS[13] : Fail safe mode enable. Excludes power up fail safe. More...
 
      TCAN4x5x_DEV_CONFIG_GPIO1_CONFIG   GPIO1_CONFIG: 2
 DEV_MODE_PINS[15:14] : GPIO1 configuration Configures the mode of the GPIO1 pin as an input or output Available values are: TCAN4x5x_DEV_CONFIG_GPIO1_CONFIG_GPO : Sets GPIO1 as an output. Be sure to see GPIO1_GPO_CONFIG field to set the behavior TCAN4x5x_DEV_CONFIG_GPIO1_CONFIG_WATCHDOG_INPUT : Sets GPIO1 as an input for the watchdog timer. Watchdog will need to be enabled. More...
 
      TCAN4x5x_DEV_CONFIG_WDT_ACTION   WD_ACTION: 2
 DEV_MODE_PINS[17:16] : Watchdog action. Defines the behavior of the watchdog timer when it times out Sets the behavior of the watchdog when it times out Available values are: TCAN4x5x_DEV_CONFIG_WDT_ACTION_nINT : Sets an interrupt flag and the interrupt pin will be pulled low TCAN4x5x_DEV_CONFIG_WDT_ACTION_PULSE_INH : Pulse INH low for ~300 ms then high TCAN4x5x_DEV_CONFIG_WDT_ACTION_PULSE_WDT_OUTPUT : Pulse the watchdog output pin low for ~300 ms and high. More...
 
      uint8_t   WD_BIT_RESET: 1
 DEV_MODE_PINS[18] : Watchdog reset bit Write a 1 to reset the watchdog timer. It's recommended to use the other watchdog functions for this behavior. More...
 
      uint8_t   nWKRQ_VOLTAGE: 1
 DEV_MODE_PINS[19] : nWKRQ_VOLTAGE, set the voltage rail used by the nWKRQ pin Available values are: 0 [default] : Internal Voltage rail 1 : VIO Voltage rail. More...
 
      uint8_t   RESERVED3: 2
 DEV_MODE_PINS[21:20] : RESERVED. Use test mode functions to enable test modes. More...
 
      TCAN4x5x_DEV_CONFIG_GPO2_CONFIG   GPO2_CONFIG: 2
 DEV_MODE_PINS[23:22] : nWKRQ_VOLTAGE, set the voltage rail used by the nWKRQ pin Available values are: TCAN4x5x_DEV_CONFIG_GPO2_NO_ACTION [default] : No action for GPO2 TCAN4x5x_DEV_CONFIG_GPO2_MCAN_INT0 : Used as an output for MCAN INT0 TCAN4x5x_DEV_CONFIG_GPO2_WATCHDOG : Used as a watchdog output TCAN4x5x_DEV_CONFIG_GPO2_MIRROR_INT : Mirror nINT pin. More...
 
      uint8_t   RESERVED4: 3
 DEV_MODE_PINS[26:24] : RESERVED. More...
 
      uint8_t   CLK_REF: 1
 DEV_MODE_PINS[27] : CLK_REF, used to tell the device what the input clock/crystal frequency is Available values are: 0 : 20 MHz 1 [default] : 40 MHz. More...
 
      uint8_t   RESERVED5: 2
 DEV_MODE_PINS[29:28] : RESERVED. Use watchdog functions to set watchdog parameters. More...
 
      TCAN4x5x_DEV_CONFIG_WAKE_CONFIG   WAKE_CONFIG: 2
 
   } 
 
}; 
 

Detailed Description

Definition at line 1029 of file TCAN4x5x_Data_Structs.h.

Field Documentation

◆ @29

union { ... }

◆ CLK_REF

uint8_t TCAN4x5x_DEV_CONFIG::CLK_REF

DEV_MODE_PINS[27] : CLK_REF, used to tell the device what the input clock/crystal frequency is Available values are: 0 : 20 MHz 1 [default] : 40 MHz.

Definition at line 1122 of file TCAN4x5x_Data_Structs.h.

◆ DEVICE_RESET

uint8_t TCAN4x5x_DEV_CONFIG::DEVICE_RESET

DEV_MODE_PINS[2] : Device reset. Write a 1 to perform a reset on the part.

Definition at line 1047 of file TCAN4x5x_Data_Structs.h.

◆ FAIL_SAFE_EN

uint8_t TCAN4x5x_DEV_CONFIG::FAIL_SAFE_EN

DEV_MODE_PINS[13] : Fail safe mode enable. Excludes power up fail safe.

Definition at line 1076 of file TCAN4x5x_Data_Structs.h.

◆ GPIO1_CONFIG

TCAN4x5x_DEV_CONFIG_GPIO1_CONFIG TCAN4x5x_DEV_CONFIG::GPIO1_CONFIG

DEV_MODE_PINS[15:14] : GPIO1 configuration Configures the mode of the GPIO1 pin as an input or output Available values are: TCAN4x5x_DEV_CONFIG_GPIO1_CONFIG_GPO : Sets GPIO1 as an output. Be sure to see GPIO1_GPO_CONFIG field to set the behavior TCAN4x5x_DEV_CONFIG_GPIO1_CONFIG_WATCHDOG_INPUT : Sets GPIO1 as an input for the watchdog timer. Watchdog will need to be enabled.

Definition at line 1083 of file TCAN4x5x_Data_Structs.h.

◆ GPIO1_GPO_CONFIG

TCAN4x5x_DEV_CONFIG_GPO1_CONFIG TCAN4x5x_DEV_CONFIG::GPIO1_GPO_CONFIG

DEV_MODE_PINS[11:10] : GPIO1 pin as a GPO function configuration Configures the behavior of GPIO1 if it is configured to be a GPO Available values are: TCAN4x5x_DEV_CONFIG_GPO1_SPI_FAULT_INT : Active low output for a SPIERR TCAN4x5x_DEV_CONFIG_GPO1_MCAN_INT1 : Active low output for MCAN_INT1 output (See MCAN ILE and ILS registers to use) TCAN4x5x_DEV_CONFIG_GPO1_UNDER_VOLTAGE_OR_THERMAL_INT : Active low output for any under voltage or over temp interrupt.

Definition at line 1070 of file TCAN4x5x_Data_Structs.h.

◆ GPO2_CONFIG

TCAN4x5x_DEV_CONFIG_GPO2_CONFIG TCAN4x5x_DEV_CONFIG::GPO2_CONFIG

DEV_MODE_PINS[23:22] : nWKRQ_VOLTAGE, set the voltage rail used by the nWKRQ pin Available values are: TCAN4x5x_DEV_CONFIG_GPO2_NO_ACTION [default] : No action for GPO2 TCAN4x5x_DEV_CONFIG_GPO2_MCAN_INT0 : Used as an output for MCAN INT0 TCAN4x5x_DEV_CONFIG_GPO2_WATCHDOG : Used as a watchdog output TCAN4x5x_DEV_CONFIG_GPO2_MIRROR_INT : Mirror nINT pin.

Definition at line 1113 of file TCAN4x5x_Data_Structs.h.

◆ INH_DIS

uint8_t TCAN4x5x_DEV_CONFIG::INH_DIS

DEV_MODE_PINS[9] : Inhibit pin disable.

Definition at line 1062 of file TCAN4x5x_Data_Structs.h.

◆ nWKRQ_CONFIG

uint8_t TCAN4x5x_DEV_CONFIG::nWKRQ_CONFIG

DEV_MODE_PINS[8] : nWKRQ Configuration 0: Mirrors INH function 1: Wake request interrupt.

Definition at line 1059 of file TCAN4x5x_Data_Structs.h.

◆ nWKRQ_VOLTAGE

uint8_t TCAN4x5x_DEV_CONFIG::nWKRQ_VOLTAGE

DEV_MODE_PINS[19] : nWKRQ_VOLTAGE, set the voltage rail used by the nWKRQ pin Available values are: 0 [default] : Internal Voltage rail 1 : VIO Voltage rail.

Definition at line 1102 of file TCAN4x5x_Data_Structs.h.

◆ RESERVED0

uint8_t TCAN4x5x_DEV_CONFIG::RESERVED0

DEV_MODE_PINS[0] : Test mode configuration. Reserved in this struct It is recommended to use the test mode function to enable or disable test mode rather than this struct.

Definition at line 1040 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_Configure().

◆ RESERVED1

uint8_t TCAN4x5x_DEV_CONFIG::RESERVED1

Reserved.

DEV_MODE_PINS[7:6] : Mode Selection. Use the mode functions to change the mode

Definition at line 1054 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_Configure().

◆ RESERVED2

uint8_t TCAN4x5x_DEV_CONFIG::RESERVED2

Reserved.

Definition at line 1073 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_Configure().

◆ RESERVED3

uint8_t TCAN4x5x_DEV_CONFIG::RESERVED3

DEV_MODE_PINS[21:20] : RESERVED. Use test mode functions to enable test modes.

Definition at line 1105 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_Configure().

◆ RESERVED4

uint8_t TCAN4x5x_DEV_CONFIG::RESERVED4

DEV_MODE_PINS[26:24] : RESERVED.

Definition at line 1116 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_Configure().

◆ RESERVED5

uint8_t TCAN4x5x_DEV_CONFIG::RESERVED5

DEV_MODE_PINS[29:28] : RESERVED. Use watchdog functions to set watchdog parameters.

Definition at line 1125 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_Configure().

◆ SWE_DIS

uint8_t TCAN4x5x_DEV_CONFIG::SWE_DIS

DEV_MODE_PINS[1] : Sleep wake error disable. Setting this to 1 will disable the 4 minute timer that puts the part back to sleep if no activity is detected.

Definition at line 1044 of file TCAN4x5x_Data_Structs.h.

◆ WAKE_CONFIG

TCAN4x5x_DEV_CONFIG_WAKE_CONFIG TCAN4x5x_DEV_CONFIG::WAKE_CONFIG

brief DEV_MODE_PINS[31:30] : WAKE_CONFIG, used to configure the direction required to wake a part up Available values are: TCAN4x5x_DEV_CONFIG_WAKE_DISABLED : Disabled. Wake pin is not used TCAN4x5x_DEV_CONFIG_WAKE_RISING_EDGE : Low to high transition will wake the part TCAN4x5x_DEV_CONFIG_WAKE_FALLING_EDGE : High to low transition will wake the part TCAN4x5x_DEV_CONFIG_WAKE_BOTH_EDGES [default] : Either transition will wake the part

Definition at line 1134 of file TCAN4x5x_Data_Structs.h.

◆ WD_ACTION

TCAN4x5x_DEV_CONFIG_WDT_ACTION TCAN4x5x_DEV_CONFIG::WD_ACTION

DEV_MODE_PINS[17:16] : Watchdog action. Defines the behavior of the watchdog timer when it times out Sets the behavior of the watchdog when it times out Available values are: TCAN4x5x_DEV_CONFIG_WDT_ACTION_nINT : Sets an interrupt flag and the interrupt pin will be pulled low TCAN4x5x_DEV_CONFIG_WDT_ACTION_PULSE_INH : Pulse INH low for ~300 ms then high TCAN4x5x_DEV_CONFIG_WDT_ACTION_PULSE_WDT_OUTPUT : Pulse the watchdog output pin low for ~300 ms and high.

Definition at line 1091 of file TCAN4x5x_Data_Structs.h.

◆ WD_BIT_RESET

uint8_t TCAN4x5x_DEV_CONFIG::WD_BIT_RESET

DEV_MODE_PINS[18] : Watchdog reset bit Write a 1 to reset the watchdog timer. It's recommended to use the other watchdog functions for this behavior.

Definition at line 1096 of file TCAN4x5x_Data_Structs.h.

◆ WD_EN

uint8_t TCAN4x5x_DEV_CONFIG::WD_EN

DEV_MODE_PINS[3] : Watchdog Enable. Use the watchdog functions to control enabling the watchdog.

Definition at line 1050 of file TCAN4x5x_Data_Structs.h.

◆ word

uint32_t TCAN4x5x_DEV_CONFIG::word

Full word for register.

Definition at line 1034 of file TCAN4x5x_Data_Structs.h.

Referenced by TCAN4x5x_Device_Configure(), and TCAN4x5x_Device_ReadConfig().


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