From 2de11478fbd80fc913bb045523bff71da2a11064 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 6 Dec 2021 16:02:51 +0100 Subject: [PATCH] updated all example links --- src/gpio/mod.rs | 2 +- src/pwm.rs | 2 +- src/spi.rs | 2 +- src/timer.rs | 3 ++- src/uart.rs | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/gpio/mod.rs b/src/gpio/mod.rs index 9b7bba4..4264bac 100644 --- a/src/gpio/mod.rs +++ b/src/gpio/mod.rs @@ -20,7 +20,7 @@ //! //! ## Examples //! -//! - [Blinky example](https://github.com/robamu-org/va108xx-hal-rs/blob/main/examples/blinky.rs) +//! - [Blinky example](https://egit.irs.uni-stuttgart.de/rust/va108xx-hal/src/branch/main/examples/blinky.rs) pub mod dynpins; pub use dynpins::*; diff --git a/src/pwm.rs b/src/pwm.rs index c8138c5..01cbbe8 100644 --- a/src/pwm.rs +++ b/src/pwm.rs @@ -4,7 +4,7 @@ //! //! ## Examples //! -//! - [PWM example](https://github.com/robamu-org/va108xx-hal-rs/blob/main/examples/pwm.rs) +//! - [PWM example](https://egit.irs.uni-stuttgart.de/rust/va108xx-hal/src/branch/main/examples/pwm.rs) use core::marker::PhantomData; use crate::{clock::enable_peripheral_clock, gpio::DynPinId}; diff --git a/src/spi.rs b/src/spi.rs index 7b0ffb1..36cd58e 100644 --- a/src/spi.rs +++ b/src/spi.rs @@ -2,7 +2,7 @@ //! //! ## Examples //! -//! - [Blocking SPI example](https://github.com/robamu-org/va108xx-hal-rs/blob/main/examples/spi.rs) +//! - [Blocking SPI example](https://egit.irs.uni-stuttgart.de/rust/va108xx-hal/src/branch/main/examples/spi.rs) use crate::Sealed; use crate::{ clock::{enable_peripheral_clock, PeripheralClocks}, diff --git a/src/timer.rs b/src/timer.rs index 346f62a..917b21d 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -2,7 +2,8 @@ //! //! ## Examples //! -//! - [MS and second tick implementation](https://github.com/robamu-org/va108xx-hal-rs/blob/main/examples/timer-ticks.rs) +//! - [MS and second tick implementation](https://egit.irs.uni-stuttgart.de/rust/va108xx-hal/src/branch/main/examples/timer-ticks.rs) +//! - [Cascade feature example](https://egit.irs.uni-stuttgart.de/rust/va108xx-hal/src/branch/main/examples/cascade.rs) use crate::{ clock::{enable_peripheral_clock, PeripheralClocks}, gpio::{ diff --git a/src/uart.rs b/src/uart.rs index 5451c49..b33c3f7 100644 --- a/src/uart.rs +++ b/src/uart.rs @@ -2,7 +2,7 @@ //! //! ## Examples //! -//! - [UART example](https://github.com/robamu-org/va108xx-hal-rs/blob/main/examples/uart.rs) +//! - [UART example](https://egit.irs.uni-stuttgart.de/rust/va108xx-hal/src/branch/main/examples/uart.rs) use core::{convert::Infallible, ptr}; use core::{marker::PhantomData, ops::Deref}; use libm::floorf;