Searched refs:sr (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/src/cpu/cortexm4f/ |
D | cpu.c | 77 static void cpuPackSrBits(uint32_t *dstLo, uint32_t *dstHi, uint32_t sr, uint32_t hfsr, uint32_t cf… in cpuPackSrBits() argument 85 sr &= 0xFF00FDFF; in cpuPackSrBits() 89 *dstLo = sr | ((cfsr << 4) & 0x00FF0000) | (hfsr >> 12) | (hfsr << 8); in cpuPackSrBits() 107 uint32_t i, hfsr, cfsr, sr; in cpuInitLate() local 109 …cpuUnpackSrBits(dbx->sr_hfsr_cfsr_lo, dbx->magic & HARD_FAULT_DROPBOX_MAGIC_DATA_MASK, &sr, &hfsr,… in cpuInitLate() 114 osLog(LOG_INFO, " SR = %08lX\n", sr); in cpuInitLate()
|
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
D | platform.c | 466 uint16_t sr; in sleepClockTmrWake() local 480 sr = tim->SR; in sleepClockTmrWake() 482 } while (sr != tim->SR || cnt != tim->CNT); in sleepClockTmrWake() 485 if (sr & 1) //if there was an overflow, account for it in sleepClockTmrWake()
|