drivers: counter_nxp_s32_sys_timer: update to RTD 1.0.0

Rename function Stm_Ip_GetInterruptFlag to Stm_Ip_GetInterruptStatusFlag.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
This commit is contained in:
Cong Nguyen Huu 2023-11-07 09:13:03 +07:00 committed by Carles Cufí
parent 2a932ccab1
commit e02c27aeb8

View file

@ -116,7 +116,7 @@ static uint32_t nxp_s32_sys_timer_get_pending_int(const struct device *dev)
uint8_t i;
for (i = 0; i < counter_get_num_of_channels(dev); i++) {
flags = Stm_Ip_GetInterruptFlag(config->instance, i);
flags = Stm_Ip_GetInterruptStatusFlag(config->instance, i);
if (flags) {
break;
}