# HPM Reset Monitor default configuration
# See: /etc/systemd/system/hpm-reset.service

# GPIO1_B7 sysfs number on RK3588 (Bank1 * 32 + B(1) * 8 + 7)
RESET_GPIO=47

# Check interval in seconds
CHECK_INTERVAL=2

# Number of consecutive failures before triggering reset
FAIL_THRESHOLD=10

# Reset pulse duration in seconds
RESET_HOLD_TIME=0.5

# 1 = active-high, 0 = active-low
RESET_ACTIVE_HIGH=1

# Wait time after reset in seconds
POST_RESET_WAIT=15

# USB device identification (roboto_usb4can)
HPM_VID=1209
HPM_PID=2323
