drivers: misc: Update renesas ra external interrupt to support RA8P1
This is temporary update because in HWM only mention IRQCR but FSP is defining for IRQCRa and IRQCRb with same values. Haven't understood why need both IRQCRa and IRQCRb. Current update is using IRACRa. Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
This commit is contained in:
parent
720d4c61a9
commit
780aa50179
@ -13,6 +13,18 @@
|
||||
#include <zephyr/drivers/misc/renesas_ra_external_interrupt/renesas_ra_external_interrupt.h>
|
||||
#include <soc.h>
|
||||
|
||||
#ifndef R_ICU_IRQCR_IRQMD_Pos
|
||||
#define R_ICU_IRQCR_IRQMD_Pos R_ICU_IRQCRa_IRQMD_Pos
|
||||
#endif
|
||||
|
||||
#ifndef R_ICU_IRQCR_IRQMD_Msk
|
||||
#define R_ICU_IRQCR_IRQMD_Msk R_ICU_IRQCRa_IRQMD_Msk
|
||||
#endif
|
||||
|
||||
#ifndef R_ICU_IRQCR_FLTEN_Pos
|
||||
#define R_ICU_IRQCR_FLTEN_Pos R_ICU_IRQCRa_FLTEN_Pos
|
||||
#endif
|
||||
|
||||
enum ext_irq_trigger {
|
||||
EXT_INTERRUPT_EDGE_FALLING = 0,
|
||||
EXT_INTERRUPT_EDGE_RISING,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user