Home
last modified time | relevance | path

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

/Zephyr-latest/soc/microchip/mec/mec15xx/
Ddevice_power.c148 static uint8_t uart_activate[3]; variable
152 uart_activate[0] = UART0_REGS->ACTV; in deep_sleep_save_uarts()
153 if (uart_activate[0]) { in deep_sleep_save_uarts()
158 uart_activate[1] = UART1_REGS->ACTV; in deep_sleep_save_uarts()
159 if (uart_activate[1]) { in deep_sleep_save_uarts()
164 uart_activate[2] = UART2_REGS->ACTV; in deep_sleep_save_uarts()
165 if (uart_activate[2]) { in deep_sleep_save_uarts()
192 UART0_REGS->ACTV = uart_activate[0]; in deep_sleep_restore_uarts()
193 UART1_REGS->ACTV = uart_activate[1]; in deep_sleep_restore_uarts()
194 UART2_REGS->ACTV = uart_activate[2]; in deep_sleep_restore_uarts()