O7V7LAFPWUJJAVSZ67LQWJWX6GKEG6UOGI7FCJZYC7KK7KFZ6GZAC
// Handle forced state for testing purposes
const fstate = peripherals.IO_BANK0.PROC0_INTF1.read();
if (fstate.GPIO15_LEVEL_LOW == 1) state.GPIO15_EDGE_LOW = 1;
if (fstate.GPIO15_LEVEL_HIGH == 1) state.GPIO15_EDGE_HIGH = 1;
// disable forcing
peripherals.IO_BANK0.PROC0_INTF1.modify(.{
.GPIO15_EDGE_HIGH = 0,
.GPIO15_EDGE_LOW = 0,
});
{ // Handle forced state - only for testing purposes
const fstate = peripherals.IO_BANK0.PROC0_INTF1.read();
if (fstate.GPIO15_LEVEL_LOW == 1) state.GPIO15_EDGE_LOW = 1;
if (fstate.GPIO15_LEVEL_HIGH == 1) state.GPIO15_EDGE_HIGH = 1;
// disable forcing
peripherals.IO_BANK0.PROC0_INTF1.modify(.{
.GPIO15_EDGE_HIGH = 0,
.GPIO15_EDGE_LOW = 0,
});
}