This function returns the enable state of an interrupt. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>