Config structure for VBAT OCP parameters.
Data Fields | |
| uint8_t | mode |
| Vbat 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 cy_stc_fault_vbat_ocp_cfg_t::threshold |
Current threshold percentage (0-100) above the contract current to trigger fault.