#pragma once | |
#include <compartment-macros.h> | |
#include <interrupt.h> | |
#include <riscvreg.h> | |
DECLARE_AND_DEFINE_INTERRUPT_CAPABILITY(i2sRxWatermarkInterruptCapability, | |
InterruptName::I2sRxWatermarkInterrupt, | |
true, | |
true) | |
DECLARE_AND_DEFINE_INTERRUPT_CAPABILITY(i2sTxWatermarkInterruptCapability, | |
InterruptName::I2sTxWatermarkInterrupt, | |
true, | |
true) | |
DECLARE_AND_DEFINE_INTERRUPT_CAPABILITY(i2sTxEmptyInterruptCapability, | |
InterruptName::I2sTxEmptyInterrupt, | |
true, | |
true) |