Home
last modified time | relevance | path

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

/hal_ambiq-3.5.0/mcu/apollo4p/hal/
Dam_hal_i2s.c100 am_hal_i2s_register_state_t sRegState; member
545 if (bRetainState && !pState->sRegState.bValid) in am_hal_i2s_power_control()
559 I2Sn(ui32Module)->I2SCTL = pState->sRegState.regI2SCTL; in am_hal_i2s_power_control()
560 I2Sn(ui32Module)->I2SDATACFG = pState->sRegState.regI2SDATACFG; in am_hal_i2s_power_control()
561 I2Sn(ui32Module)->I2SIOCFG = pState->sRegState.regI2SIOCFG; in am_hal_i2s_power_control()
562 I2Sn(ui32Module)->AMQCFG = pState->sRegState.regAMQCFG; in am_hal_i2s_power_control()
563 I2Sn(ui32Module)->CLKCFG = pState->sRegState.regI2SCLKCFG; in am_hal_i2s_power_control()
564 I2Sn(ui32Module)->IPBIRPT = pState->sRegState.regIPBIRPT; in am_hal_i2s_power_control()
565 I2Sn(ui32Module)->RXUPPERLIMIT = pState->sRegState.regRXUPPERLIMIT; in am_hal_i2s_power_control()
566 I2Sn(ui32Module)->TXLOWERLIMIT = pState->sRegState.regTXLOWERLIMIT; in am_hal_i2s_power_control()
[all …]
Dam_hal_usb.c194 am_hal_usb_register_state_t sRegState; member
726 g_am_hal_usb_states[ui32Module].sRegState.bValid = false; in am_hal_usb_initialize()
813 if ( bRetainState && !pState->sRegState.bValid ) in am_hal_usb_power_control()
850 pUSB->CFG0 = pState->sRegState.regCFG0; in am_hal_usb_power_control()
851 pUSB->CFG1 = pState->sRegState.regCFG1; in am_hal_usb_power_control()
852 pUSB->CFG2 = pState->sRegState.regCFG2; in am_hal_usb_power_control()
857 pUSB->IDX0 = pState->sRegState.regEndPoints[i-1].regIDX0; in am_hal_usb_power_control()
858 pUSB->IDX1 = pState->sRegState.regEndPoints[i-1].regIDX1; in am_hal_usb_power_control()
859 pUSB->IDX2 = pState->sRegState.regEndPoints[i-1].regIDX2; in am_hal_usb_power_control()
862 pState->sRegState.bValid = false; in am_hal_usb_power_control()
[all …]
Dam_hal_pdm.c166 g_PDMhandles[ui32Module].sRegState.bValid = false; in am_hal_pdm_initialize()
241 if (bRetainState && !pState->sRegState.bValid) in am_hal_pdm_power_control()
258 pState->sRegState.bValid = false; in am_hal_pdm_power_control()
273 pState->sRegState.bValid = true; in am_hal_pdm_power_control()
Dam_hal_pdm.h391 am_hal_pdm_register_state_t sRegState; member
/hal_ambiq-3.5.0/mcu/apollo4p/hal/mcu/
Dam_hal_uart.c124 am_hal_uart_register_state_t sRegState; member
231 g_am_hal_uart_states[ui32Module].sRegState.bValid = false; in am_hal_uart_initialize()
276 pState->sRegState.bValid = false; in am_hal_uart_deinitialize()
320 if (bRetainState && !pState->sRegState.bValid) in am_hal_uart_power_control()
337 UARTn(ui32Module)->ILPR = pState->sRegState.regILPR; in am_hal_uart_power_control()
338 UARTn(ui32Module)->IBRD = pState->sRegState.regIBRD; in am_hal_uart_power_control()
339 UARTn(ui32Module)->FBRD = pState->sRegState.regFBRD; in am_hal_uart_power_control()
340 UARTn(ui32Module)->LCRH = pState->sRegState.regLCRH; in am_hal_uart_power_control()
341 UARTn(ui32Module)->CR = pState->sRegState.regCR; in am_hal_uart_power_control()
342 UARTn(ui32Module)->IFLS = pState->sRegState.regIFLS; in am_hal_uart_power_control()
[all …]