Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sleep: add sleep manager API (feature-hal-spec branch) #4882

Closed
wants to merge 2 commits into from

Commits on Aug 17, 2017

  1. Sleep HAL: add sleep manager API

    Sleep manager provides API to lock/unlock deepsleep. This API allows a user to
    control deep sleep.
    
    This API should be done via atomic operations (to be IRQ/thread safe).
    
    Add wake-up times for sleep and deep sleep. Sleep should wake up within 10 us,
    deep sleep within 10 milliseconds (sufficient time to restore clock if required).
    0xc0170 committed Aug 17, 2017
    Configuration menu
    Copy the full SHA
    b75c51a View commit details
    Browse the repository at this point in the history
  2. Sleep: add deepsleep locks for !DEVICE_SLEEP

    If a target do not support sleep (no DEVICE_SLEEP defined),
    we provide empty deep sleep locking.
    0xc0170 committed Aug 17, 2017
    Configuration menu
    Copy the full SHA
    543660f View commit details
    Browse the repository at this point in the history