CONFIG_UART_CONSOLE_INPUT_EXPIRED

Enable support for UART console input expired mechanism

Type: bool

Help

This option allows a notification to the power management module that
the module for UART console is in use now. If the interval of console
module doesn't receive any input message exceeds expired timeout, such
as UART_CONSOLE_INPUT_EXPIRED_TIMEOUT, the power management module is
allowed to enter sleep/deep sleep state and turn off the clock of UART
console module. This mechanism gives a window in which the users can
organize input message if CONFIG_PM is enabled.

Direct dependencies

UART_CONSOLE && PM && CONSOLE

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/drivers/console/Kconfig:69

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:14

Menu path: (Top) → Device Drivers → Console drivers → Use UART for console

config UART_CONSOLE_INPUT_EXPIRED
    bool "Enable support for UART console input expired mechanism"
    default y
    depends on UART_CONSOLE && PM && CONSOLE
    help
      This option allows a notification to the power management module that
      the module for UART console is in use now. If the interval of console
      module doesn't receive any input message exceeds expired timeout, such
      as UART_CONSOLE_INPUT_EXPIRED_TIMEOUT, the power management module is
      allowed to enter sleep/deep sleep state and turn off the clock of UART
      console module. This mechanism gives a window in which the users can
      organize input message if CONFIG_PM is enabled.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)