def METHOD_NAME(self, val):
    pending_irq = int(val.value)
    self.log(f"======== BEGIN IRQ ========")
    #self.channel_table.dump()
    self.channel_table.get_last_read_command(pending_irq)
    self.log(f"========  END IRQ  ========")