#ifndef LAMP_OUTPUT_PINS_H
#define LAMP_OUTPUT_PINS_H
#include <stdint.h>
#define LAMP_OFF_POWER 1u
#define LAMP_OFF_OE 2u
#define LAMP_OFF_WDOG 4u
#define LAMP_OFF_RESET 8u
#define LAMP_OFF_ALL 15u
/* Off-only request. Enables control GPIO clocks, uses atomic BSRR writes,
 * preserves pin modes/locks/mapping/other latches. Cannot promise physical
 * off when mux, pad feedback or external wiring is invalid. Never enables LED. */
void lamp_output_pins_request_off(void);
/* Read-only diagnostic mask. Use on subsequent polls after electrical settling;
 * register/IDR agreement is not measured LED current or power-rail proof. */
uint32_t lamp_output_pins_read_off(void);
#endif
