SLVAFT2A
May 2024 – July 2024
TPS2HCS10-Q1
1
Abstract
Trademarks
1
Software Ecosystem
2
Platform Drivers
2.1
Driver Concept
2.2
Supported Platforms
2.3
Porting to Other Platforms
2.4
API Guide
2.4.1
tHCSResponseCode Union Reference
2.4.2
float_t HCS_convertCurrent (uint16_t rawValue, uint16_t ksnsVal, uint16_t snsRes)
2.4.3
float_t HCS_convertTemperature (uint16_t rawValue)
2.4.4
float_t HCS_convertVoltage (uint16_t rawValue)
2.4.5
tHCSResponseCode HCS_getChannelFaultStatus (uint8_t chanNum, uint16_t * fltStatus)
2.4.6
tHCSResponseCode HCS_getDeviceFaultSatus (uint16_t * fltStatus)
2.4.7
tHCSResponseCode HCS_gotoLPM (lpm_exit_curr_ch1_t ch1ExitCurrent, lpm_exit_curr_ch2_t ch2ExitCurrent)
2.4.8
tHCSResponseCode HCS_gotoSleep (void )
2.4.9
tHCSResponseCode HCS_initializeDevice (TPS2HCS10Q1_CONFIG * config)
2.4.10
tHCSResponseCode HCS_readRegister (uint8_t addr, uint16_t * readValue)
2.4.11
tHCSResponseCode HCS_setSwitchState (uint8_t swState)
2.4.12
tHCSResponseCode HCS_updateConfig (TPS2HCS10Q1_CONFIG * config)
2.4.13
tHCSResponseCode HCS_wakeupDevice (void )
2.4.14
tHCSResponseCode HCS_writeRegister (uint8_t addr, uint16_t payload)
3
Configuration or Evaluation Tool
4
Code Examples
4.1
Empty Example
4.2
I2T Trip Example
4.3
Low-Power Mode Example
4.4
Current Sense Example
5
Summary
6
References
7
Revision History
Application Note
Common Software Use Case Examples with TI Smart Fuse High-Side Switches