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

Update API doc links #39

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/src/03_2_blinky.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ We also see that the HAL offers a way to delay execution.

[ESP32-C3-DevKit-RUST-1]: https://github.com/esp-rs/esp-rust-board
[LED connected to GPIO 7]: https://github.com/esp-rs/esp-rust-board#pin-layout
[into-push-pull-output]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp_hal/gpio/struct.GpioPin.html#method.into_push_pull_output
[into-push-pull-output]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp_hal/gpio/struct.GpioPin.html#method.into_push_pull_output
[toogle]: https://docs.rs/embedded-hal/0.2.7/embedded_hal/digital/v2/trait.ToggleableOutputPin.html#tymethod.toggle
[delay-ms]: https://docs.rs/embedded-hal/0.2.7/embedded_hal/blocking/delay/trait.DelayMs.html#tymethod.delay_ms

Expand Down
4 changes: 2 additions & 2 deletions book/src/03_3_button.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Similarly to turning a `GPIO` into an `output` we can turn it into an `input`. T
✅ In the `loop`, add some logic so if the button is not pressed, the LED is lit. If the button is pressed, the LED is off.

[`BOOT` on `GPIO9`]: https://github.com/esp-rs/esp-rust-board#ios
[into-pull-up-input]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp_hal/gpio/struct.GpioPin.html#method.into_pull_up_input
[into-push-pull-output]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp_hal/gpio/struct.GpioPin.html#method.into_push_pull_output
[into-pull-up-input]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp_hal/gpio/struct.GpioPin.html#method.into_pull_up_input
[into-push-pull-output]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp_hal/gpio/struct.GpioPin.html#method.into_push_pull_output

## Simulation

Expand Down
6 changes: 3 additions & 3 deletions book/src/03_4_interrupt.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ function, hence it needs to be run inside an `unsafe` block.
The interrupt handler is defined via the `#[interrupt]` macro.
Here, the name of the function must match the interrupt.

[listen]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp_hal/gpio/trait.Pin.html#method.listen
[listen]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp_hal/gpio/trait.Pin.html#method.listen
[Interrupts]: https://docs.rust-embedded.org/book/start/interrupts.html
[`critical-section`]: https://crates.io/crates/critical-section
[possible interrupts]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp32c3/enum.Interrupt.html
[events]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp_hal/gpio/enum.Event.html
[possible interrupts]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp32c3/enum.Interrupt.html
[events]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp_hal/gpio/enum.Event.html

## Simulation

Expand Down
4 changes: 2 additions & 2 deletions book/src/03_5_http_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ To make an HTTP request, we first need to open a socket, and write to it the GET
{{#include ../../intro/http-client/examples/http-client.rs:socket_close}}
```

[timer]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp32c3/systimer/index.html
[clock]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.0/esp32c3/esp_hal/clock/index.html
[timer]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp32c3/systimer/index.html
[clock]: https://docs.esp-rs.org/esp-hal/esp-hal/0.16.1/esp32c3/esp_hal/clock/index.html

## Simulation

Expand Down