Searched refs:ui32Module (Results 1 – 1 of 1) sorted by relevance
79 uint32_t ui32Module = ((uint32_t)get_uart(dev) == UART0_BASE) ? 0 : 1; in uart_ambiq_pm_action() local83 ((am_hal_pwrctrl_periph_e)(AM_HAL_PWRCTRL_PERIPH_UART0 + ui32Module)); in uart_ambiq_pm_action()86 uart_register_state_t *pRegisterStatus = &sRegState[ui32Module]; in uart_ambiq_pm_action()110 UARTn(ui32Module)->ILPR = pRegisterStatus->regILPR; in uart_ambiq_pm_action()111 UARTn(ui32Module)->IBRD = pRegisterStatus->regIBRD; in uart_ambiq_pm_action()112 UARTn(ui32Module)->FBRD = pRegisterStatus->regFBRD; in uart_ambiq_pm_action()113 UARTn(ui32Module)->LCRH = pRegisterStatus->regLCRH; in uart_ambiq_pm_action()114 UARTn(ui32Module)->CR = pRegisterStatus->regCR; in uart_ambiq_pm_action()115 UARTn(ui32Module)->IFLS = pRegisterStatus->regIFLS; in uart_ambiq_pm_action()116 UARTn(ui32Module)->IER = pRegisterStatus->regIER; in uart_ambiq_pm_action()[all …]