Home
last modified time | relevance | path

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

/hal_ambiq-3.6.0/mcu/apollo4p/hal/mcu/
Dam_hal_reset.c159 am_hal_reset_status_get(am_hal_reset_status_t *psStatus) in am_hal_reset_status_get() argument
163 if ( psStatus == NULL ) in am_hal_reset_status_get()
177 psStatus->eStatus = (am_hal_reset_status_e)gAmHalResetStatus; in am_hal_reset_status_get()
178 psStatus->bEXTStat = gAmHalResetStatus & AM_HAL_RESET_STATUS_EXTERNAL; in am_hal_reset_status_get()
179 psStatus->bPORStat = gAmHalResetStatus & AM_HAL_RESET_STATUS_POR; in am_hal_reset_status_get()
180 psStatus->bBODStat = gAmHalResetStatus & AM_HAL_RESET_STATUS_BOD; in am_hal_reset_status_get()
181 psStatus->bSWPORStat = gAmHalResetStatus & AM_HAL_RESET_STATUS_SWPOR; in am_hal_reset_status_get()
182 psStatus->bSWPOIStat = gAmHalResetStatus & AM_HAL_RESET_STATUS_SWPOI; in am_hal_reset_status_get()
183 psStatus->bDBGRStat = gAmHalResetStatus & AM_HAL_RESET_STATUS_DEBUGGER; in am_hal_reset_status_get()
184 psStatus->bWDTStat = gAmHalResetStatus & AM_HAL_RESET_STATUS_WDT; in am_hal_reset_status_get()
[all …]
Dam_hal_clkgen.c356 am_hal_clkgen_status_get(am_hal_clkgen_status_t *psStatus) in am_hal_clkgen_status_get() argument
358 if ( psStatus == NULL ) in am_hal_clkgen_status_get()
363 psStatus->ui32SysclkFreq = AM_HAL_CLKGEN_FREQ_MAX_HZ; in am_hal_clkgen_status_get()
365 psStatus->eRTCOSC = AM_HAL_CLKGEN_STATUS_RTCOSC_LFRC; in am_hal_clkgen_status_get()
366 psStatus->bXtalFailure = false; in am_hal_clkgen_status_get()
Dam_hal_mcuctrl.c783 am_hal_mcuctrl_status_get(am_hal_mcuctrl_status_t *psStatus) in am_hal_mcuctrl_status_get() argument
787 if ( psStatus == NULL ) in am_hal_mcuctrl_status_get()
792 psStatus->bDebuggerLockout = in am_hal_mcuctrl_status_get()
795 psStatus->bADCcalibrated = in am_hal_mcuctrl_status_get()
798 psStatus->bBattLoadEnabled = in am_hal_mcuctrl_status_get()
803 psStatus->bSecBootOnColdRst = in am_hal_mcuctrl_status_get()
805 psStatus->bSecBootOnWarmRst = in am_hal_mcuctrl_status_get()
Dam_hal_cachectrl.c342 am_hal_cachectrl_status_get(am_hal_cachectrl_status_t *psStatus) in am_hal_cachectrl_status_get() argument
344 if ( psStatus == NULL ) in am_hal_cachectrl_status_get()
352 psStatus->bCacheReady = CPU->CACHECTRL_b.CACHEREADY; in am_hal_cachectrl_status_get()
Dam_hal_iom.c1605 am_hal_iom_status_get(void *pHandle, am_hal_iom_status_t *psStatus) in am_hal_iom_status_get() argument
1615 if (!psStatus) in am_hal_iom_status_get()
1629 psStatus->bStatIdle = _FLD2VAL(IOM0_STATUS_IDLEST, ui32IomStat); in am_hal_iom_status_get()
1630 psStatus->bStatErr = _FLD2VAL(IOM0_STATUS_ERR, ui32IomStat); in am_hal_iom_status_get()
1631 psStatus->bStatCmdAct = _FLD2VAL(IOM0_STATUS_CMDACT, ui32IomStat); in am_hal_iom_status_get()
1636 psStatus->ui32DmaStat = IOMn(ui32Module)->DMASTAT; in am_hal_iom_status_get()
1638 psStatus->ui32MaxTransactions = pIOMState->ui32MaxTransactions; in am_hal_iom_status_get()
1639 psStatus->ui32NumPendTransactions = pIOMState->ui32NumPendTransactions; in am_hal_iom_status_get()
Dam_hal_reset.h225 extern uint32_t am_hal_reset_status_get(am_hal_reset_status_t *psStatus);
Dam_hal_cachectrl.h338 extern uint32_t am_hal_cachectrl_status_get(am_hal_cachectrl_status_t *psStatus);
Dam_hal_clkgen.h307 extern uint32_t am_hal_clkgen_status_get(am_hal_clkgen_status_t *psStatus);
Dam_hal_mcuctrl.h468 extern uint32_t am_hal_mcuctrl_status_get(am_hal_mcuctrl_status_t *psStatus);
Dam_hal_iom.h658 extern uint32_t am_hal_iom_status_get(void *pHandle, am_hal_iom_status_t *psStatus);
/hal_ambiq-3.6.0/mcu/apollo4p/hal/
Dam_hal_pwrctrl.c2123 am_hal_pwrctrl_status_get(am_hal_pwrctrl_status_t *psStatus) in am_hal_pwrctrl_status_get() argument
2128 psStatus->ui32Device = PWRCTRL->DEVPWRSTATUS; in am_hal_pwrctrl_status_get()
2133 psStatus->ui32AudioSS = PWRCTRL->AUDSSPWRSTATUS; in am_hal_pwrctrl_status_get()
2138 psStatus->ui32Memory = PWRCTRL->MEMPWRSTATUS; in am_hal_pwrctrl_status_get()
2143 psStatus->ui32System = PWRCTRL->SYSPWRSTATUS; in am_hal_pwrctrl_status_get()
2148 psStatus->ui32SSRAM = PWRCTRL->SSRAMPWRST; in am_hal_pwrctrl_status_get()
2153 psStatus->ui32DSP0MemStatus = PWRCTRL->DSP0MEMPWRST; in am_hal_pwrctrl_status_get()
2158 psStatus->ui32DSP1MemStatus = PWRCTRL->DSP1MEMPWRST; in am_hal_pwrctrl_status_get()
2163 psStatus->ui32VRStatus = PWRCTRL->VRSTATUS; in am_hal_pwrctrl_status_get()
2168 psStatus->ui32ADC = PWRCTRL->ADCSTATUS; in am_hal_pwrctrl_status_get()
[all …]
Dam_hal_pwrctrl.h706 extern uint32_t am_hal_pwrctrl_status_get(am_hal_pwrctrl_status_t *psStatus);