HF-TMC9660 Driver
Hardware Agnostic C++ Driver for the TMC9660
|
Fault Status Register (FAULT_STATUS) More...
#include <tmc9660_sys_ctrl.hpp>
Public Attributes | ||
union { | ||
uint32_t value | ||
struct { | ||
uint32_t BCK_UVLO: 1 | ||
[0] VBUCK undervoltage lockout More... | ||
uint32_t BCK_SHORT: 1 | ||
[1] VBUCK shorted More... | ||
uint32_t LDOEXT_TSD: 1 | ||
[2] LDO thermal shutdown More... | ||
uint32_t LDOEXT1_SHORT: 1 | ||
[3] LDO1 (V_EXT1) shorted More... | ||
uint32_t LDOEXT2_SHORT: 1 | ||
[4] LDO2 (V_EXT2) shorted More... | ||
uint32_t CHGP_OK: 1 | ||
[5] VDRV charge pump power-up OK (1 = OK) More... | ||
uint32_t CHGP_SHORT: 1 | ||
[6] VDRV charge pump short status More... | ||
uint32_t VSA_UVLO: 1 | ||
[7] VSA undervoltage lockout More... | ||
uint32_t VDD_UVLO: 1 | ||
[8] VDD undervoltage lockout More... | ||
uint32_t VDDA_UVLO: 1 | ||
[9] VDDA undervoltage lockout More... | ||
uint32_t VCCIO_UVLO: 1 | ||
[10] VCCIO undervoltage lockout More... | ||
uint32_t LDO1_READY: 1 | ||
[11] LDO1 (V_EXT1) soft-start complete (1 = ready) More... | ||
uint32_t LDO2_READY: 1 | ||
[12] LDO2 (V_EXT2) soft-start complete (1 = ready) More... | ||
uint32_t : 19 | ||
Reserved. More... | ||
} bits | ||
}; | ||
Static Public Attributes | |
static constexpr uint8_t | ADDRESS = 0x008 |
Register address (Block 2) | |
Fault Status Register (FAULT_STATUS)
Block 2, Address: 0x008
Reflects general system status flags for power and fault monitoring. Each bit indicates a specific fault or status condition. Bits are set and cleared automatically by hardware.
Register Map:
Bits | Name | Access | Reset | Description |
---|---|---|---|---|
12 | LDO2_READY | R | 0x0 | LDO2 (V_EXT2) has completed soft-start (1 = ready) |
11 | LDO1_READY | R | 0x0 | LDO1 (V_EXT1) has completed soft-start (1 = ready) |
10 | VCCIO_UVLO | R | 0x0 | VCCIO undervoltage lockout detected |
9 | VDDA_UVLO | R | 0x0 | VDDA undervoltage lockout detected |
8 | VDD_UVLO | R | 0x0 | VDD undervoltage lockout detected |
7 | VSA_UVLO | R | 0x0 | VSA undervoltage lockout detected |
6 | CHGP_SHORT | R | 0x0 | VDRV charge pump short status |
5 | CHGP_OK | R | 0x0 | VDRV charge pump power-up is currently okay (1 = |
OK) 4 | LDOEXT2_SHORT | R | 0x0 | LDO2 (V_EXT2) is shorted 3 |
LDOEXT1_SHORT | R | 0x0 | LDO1 (V_EXT1) is shorted 2 | LDOEXT_TSD | R | 0x0 | LDO thermal shutdown status 1 | BCK_SHORT | R | 0x0 | VBUCK shorted 0 | BCK_UVLO | R | 0x0 | VBUCK undervoltage lockout detected
union { ... } TMC9660::SYS_CTRL::FAULT_STATUS |
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::__pad0__ |
Reserved.
|
staticconstexpr |
Register address (Block 2)
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::BCK_SHORT |
[1] VBUCK shorted
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::BCK_UVLO |
[0] VBUCK undervoltage lockout
struct { ... } TMC9660::SYS_CTRL::FAULT_STATUS::bits |
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::CHGP_OK |
[5] VDRV charge pump power-up OK (1 = OK)
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::CHGP_SHORT |
[6] VDRV charge pump short status
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::LDO1_READY |
[11] LDO1 (V_EXT1) soft-start complete (1 = ready)
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::LDO2_READY |
[12] LDO2 (V_EXT2) soft-start complete (1 = ready)
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::LDOEXT1_SHORT |
[3] LDO1 (V_EXT1) shorted
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::LDOEXT2_SHORT |
[4] LDO2 (V_EXT2) shorted
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::LDOEXT_TSD |
[2] LDO thermal shutdown
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::value |
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::VCCIO_UVLO |
[10] VCCIO undervoltage lockout
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::VDD_UVLO |
[8] VDD undervoltage lockout
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::VDDA_UVLO |
[9] VDDA undervoltage lockout
uint32_t TMC9660::SYS_CTRL::FAULT_STATUS::VSA_UVLO |
[7] VSA undervoltage lockout