305: Updated dead links to SLEEPONEXIT reference on developer.arm.com r=korken89 a=FluenTech



Co-authored-by: Peter Taylor <40178570+FluenTech@users.noreply.github.com>
This commit is contained in:
bors[bot] 2020-04-14 19:50:17 +00:00 committed by GitHub
commit e870a68893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ so it must run forever.
When no `idle` function is declared, the runtime sets the [SLEEPONEXIT] bit and When no `idle` function is declared, the runtime sets the [SLEEPONEXIT] bit and
then sends the microcontroller to sleep after running `init`. then sends the microcontroller to sleep after running `init`.
[SLEEPONEXIT]: https://developer.arm.com/products/architecture/cpu-architecture/m-profile/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit [SLEEPONEXIT]: https://developer.arm.com/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit
Like in `init`, `static mut` variables will be transformed into `&'static mut` Like in `init`, `static mut` variables will be transformed into `&'static mut`
references that are safe to access. references that are safe to access.

View file

@ -66,7 +66,7 @@ $ cargo run --example init
Когда функция `idle` не определена, рантайм устанавливает бит [SLEEPONEXIT], после чего Когда функция `idle` не определена, рантайм устанавливает бит [SLEEPONEXIT], после чего
отправляет микроконтроллер в состояние сна после выполнения `init`. отправляет микроконтроллер в состояние сна после выполнения `init`.
[SLEEPONEXIT]: https://developer.arm.com/products/architecture/cpu-architecture/m-profile/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit [SLEEPONEXIT]: https://developer.arm.com/docs/100737/0100/power-management/sleep-mode/sleep-on-exit-bit
Как и в `init`, переменные `static mut`будут преобразованы в ссылки `&'static mut` Как и в `init`, переменные `static mut`будут преобразованы в ссылки `&'static mut`
с безопасным доступом. с безопасным доступом.