Skip to content

Commit

Permalink
Update API doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ authored and SergioGasquez committed Mar 13, 2024
1 parent e50c0d5 commit 2575fd2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
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

0 comments on commit 2575fd2

Please sign in to comment.