Config structure for VBUS OCP parameters.
Data Fields | |
uint8_t | enable |
Whether to enable/disable VBUS OCP Feature 1 - Enable 0 - Disable. | |
uint8_t | mode |
Vbus OCP Mode Selection 0 - OCP using external hardware 1 - Internal OCP with neither software debounce nor automatic FET control 2 - Internal OCP with automatic FET control by hardware when an OCP event is detected 3 - Internal OCP with software debounce using delay in milliseconds specified by the user. | |
uint8_t | threshold |
Current threshold percentage (0-100) above the contract current to trigger fault. More... | |
uint8_t | debounce |
Fault event debounce period in ms (0-255) | |
uint8_t | retryCount |
Number of times to retry recovery from fault(0-255) | |
uint8_t | senseRes |
Sense Resistor impedance in milli-Ohm units. | |
uint8_t | csRes |
Current sense tuning resistor impedance in 100 Ohm units. | |
uint8_t cy_stc_fault_vbus_ocp_cfg_t::threshold |
Current threshold percentage (0-100) above the contract current to trigger fault.