Home
last modified time | relevance | path

Searched refs:sFaultData (Results 1 – 1 of 1) sorted by relevance

/hal_ambiq-3.7.0/utils/
Dam_util_faultisr.c297 volatile am_fault_t sFaultData; in am_util_faultisr_collect_data() local
356 sFaultData.u32CFSR = u32Mask; // Avoid compiler warning in am_util_faultisr_collect_data()
357 sFaultData.u32CFSR = AM_REGVAL(AM_REG_SYSCTRL_CFSR_O); in am_util_faultisr_collect_data()
358 sFaultData.u8MMSR = (sFaultData.u32CFSR >> 0) & 0xff; in am_util_faultisr_collect_data()
359 sFaultData.u8BFSR = (sFaultData.u32CFSR >> 8) & 0xff; in am_util_faultisr_collect_data()
360 sFaultData.u16UFSR = (sFaultData.u32CFSR >> 16) & 0xffff; in am_util_faultisr_collect_data()
366 sFaultData.u32BFAR = AM_REGVAL(AM_REG_SYSCTRL_BFAR_O); in am_util_faultisr_collect_data()
375sFaultData.u32FaultAddr = (sFaultData.u8BFSR & 0x02) ? am_getStackedReg(6, u32IsrSP) : 0xffffffff; in am_util_faultisr_collect_data()
381 sFaultData.u32R0 = am_getStackedReg(0, u32IsrSP); in am_util_faultisr_collect_data()
382 sFaultData.u32R1 = am_getStackedReg(1, u32IsrSP); in am_util_faultisr_collect_data()
[all …]