TLE92466ED Driver 0.1.0-preview
Modern C++23 driver for Infineon TLE92466ED Six-Channel Low-Side Solenoid Driver
Loading...
Searching...
No Matches
TLE92466ED::CH_CONFIG Namespace Reference

CH_CONFIG register bit definitions. More...

Variables

constexpr uint16_t SLEWR_1V0_US = 0b00
 1.0 V/µs
 
constexpr uint16_t SLEWR_2V5_US = 0b01
 2.5 V/µs
 
constexpr uint16_t SLEWR_5V0_US = 0b10
 5.0 V/µs
 
constexpr uint16_t SLEWR_10V0_US = 0b11
 10.0 V/µs
 
constexpr uint16_t SLEWR_MASK = 0x0003
 Slew rate mask.
 
constexpr uint16_t I_DIAG_80UA = (0 << 2)
 80 µA
 
constexpr uint16_t I_DIAG_190UA = (1 << 2)
 190 µA
 
constexpr uint16_t I_DIAG_720UA = (2 << 2)
 720 µA
 
constexpr uint16_t I_DIAG_1250UA = (3 << 2)
 1250 µA
 
constexpr uint16_t I_DIAG_MASK = 0x000C
 I_DIAG mask.
 
constexpr uint16_t OL_TH_DISABLED = (0 << 4)
 OL detection disabled.
 
constexpr uint16_t OL_TH_1_8 = (1 << 4)
 1/8 of setpoint
 
constexpr uint16_t OL_TH_2_8 = (2 << 4)
 2/8 of setpoint
 
constexpr uint16_t OL_TH_3_8 = (3 << 4)
 3/8 of setpoint
 
constexpr uint16_t OL_TH_4_8 = (4 << 4)
 4/8 of setpoint
 
constexpr uint16_t OL_TH_5_8 = (5 << 4)
 5/8 of setpoint
 
constexpr uint16_t OL_TH_6_8 = (6 << 4)
 6/8 of setpoint
 
constexpr uint16_t OL_TH_7_8 = (7 << 4)
 7/8 of setpoint
 
constexpr uint16_t OL_TH_MASK = 0x0070
 OL threshold mask.
 
constexpr uint16_t OL_TH_FIXED_SHIFT = 7
 
constexpr uint16_t OL_TH_FIXED_MASK = 0x1F80
 
constexpr uint16_t OC_DIAG_EN = (1 << 13)
 OC diag in OFF state.
 
constexpr uint16_t OFF_DIAG_ENABLED = (0 << 14)
 OFF diag enabled.
 
constexpr uint16_t OFF_DIAG_LS_ONLY = (1 << 14)
 Low side current only.
 
constexpr uint16_t OFF_DIAG_HS_ONLY = (2 << 14)
 High side current only.
 
constexpr uint16_t OFF_DIAG_MASK = 0xC000
 OFF diag mask.
 
constexpr uint16_t DEFAULT = 0x0003
 Default value.
 

Detailed Description

CH_CONFIG register bit definitions.

Channel configuration for slew rate, diagnostics, and open load detection.

Bit Map:
* Bits 15-14: OFF_DIAG_CH  - OFF-state diagnostic control
* Bit 13    : OC_DIAG_EN   - OC diagnosis in OFF-state
* Bits 12-7 : OL_TH_FIXED  - Fixed open load threshold
* Bits 6-4  : OL_TH        - Relative open load threshold
* Bits 3-2  : I_DIAG       - OFF-state diagnostic current
* Bits 1-0  : SLEWR        - Slew rate control
* 

Default: 0x0003

Variable Documentation

◆ DEFAULT

constexpr uint16_t TLE92466ED::CH_CONFIG::DEFAULT = 0x0003
constexpr

Default value.

◆ I_DIAG_1250UA

constexpr uint16_t TLE92466ED::CH_CONFIG::I_DIAG_1250UA = (3 << 2)
constexpr

1250 µA

◆ I_DIAG_190UA

constexpr uint16_t TLE92466ED::CH_CONFIG::I_DIAG_190UA = (1 << 2)
constexpr

190 µA

◆ I_DIAG_720UA

constexpr uint16_t TLE92466ED::CH_CONFIG::I_DIAG_720UA = (2 << 2)
constexpr

720 µA

◆ I_DIAG_80UA

constexpr uint16_t TLE92466ED::CH_CONFIG::I_DIAG_80UA = (0 << 2)
constexpr

80 µA

◆ I_DIAG_MASK

constexpr uint16_t TLE92466ED::CH_CONFIG::I_DIAG_MASK = 0x000C
constexpr

I_DIAG mask.

◆ OC_DIAG_EN

constexpr uint16_t TLE92466ED::CH_CONFIG::OC_DIAG_EN = (1 << 13)
constexpr

OC diag in OFF state.

◆ OFF_DIAG_ENABLED

constexpr uint16_t TLE92466ED::CH_CONFIG::OFF_DIAG_ENABLED = (0 << 14)
constexpr

OFF diag enabled.

◆ OFF_DIAG_HS_ONLY

constexpr uint16_t TLE92466ED::CH_CONFIG::OFF_DIAG_HS_ONLY = (2 << 14)
constexpr

High side current only.

◆ OFF_DIAG_LS_ONLY

constexpr uint16_t TLE92466ED::CH_CONFIG::OFF_DIAG_LS_ONLY = (1 << 14)
constexpr

Low side current only.

◆ OFF_DIAG_MASK

constexpr uint16_t TLE92466ED::CH_CONFIG::OFF_DIAG_MASK = 0xC000
constexpr

OFF diag mask.

◆ OL_TH_1_8

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_1_8 = (1 << 4)
constexpr

1/8 of setpoint

◆ OL_TH_2_8

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_2_8 = (2 << 4)
constexpr

2/8 of setpoint

◆ OL_TH_3_8

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_3_8 = (3 << 4)
constexpr

3/8 of setpoint

◆ OL_TH_4_8

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_4_8 = (4 << 4)
constexpr

4/8 of setpoint

◆ OL_TH_5_8

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_5_8 = (5 << 4)
constexpr

5/8 of setpoint

◆ OL_TH_6_8

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_6_8 = (6 << 4)
constexpr

6/8 of setpoint

◆ OL_TH_7_8

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_7_8 = (7 << 4)
constexpr

7/8 of setpoint

◆ OL_TH_DISABLED

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_DISABLED = (0 << 4)
constexpr

OL detection disabled.

◆ OL_TH_FIXED_MASK

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_FIXED_MASK = 0x1F80
constexpr

◆ OL_TH_FIXED_SHIFT

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_FIXED_SHIFT = 7
constexpr

◆ OL_TH_MASK

constexpr uint16_t TLE92466ED::CH_CONFIG::OL_TH_MASK = 0x0070
constexpr

OL threshold mask.

◆ SLEWR_10V0_US

constexpr uint16_t TLE92466ED::CH_CONFIG::SLEWR_10V0_US = 0b11
constexpr

10.0 V/µs

◆ SLEWR_1V0_US

constexpr uint16_t TLE92466ED::CH_CONFIG::SLEWR_1V0_US = 0b00
constexpr

1.0 V/µs

◆ SLEWR_2V5_US

constexpr uint16_t TLE92466ED::CH_CONFIG::SLEWR_2V5_US = 0b01
constexpr

2.5 V/µs

◆ SLEWR_5V0_US

constexpr uint16_t TLE92466ED::CH_CONFIG::SLEWR_5V0_US = 0b10
constexpr

5.0 V/µs

◆ SLEWR_MASK

constexpr uint16_t TLE92466ED::CH_CONFIG::SLEWR_MASK = 0x0003
constexpr

Slew rate mask.