File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 44
55/// Newtype around [`gpio_cdev::LineHandle`] that implements the `embedded-hal` traits
66///
7- /// [`gpio_cdev::LineHandle`]: https://docs.rs/gpio-cdev/0.2 .0/gpio_cdev/struct.LineHandle.html
7+ /// [`gpio_cdev::LineHandle`]: https://docs.rs/gpio-cdev/0.5 .0/gpio_cdev/struct.LineHandle.html
88pub struct CdevPin ( pub gpio_cdev:: LineHandle , bool ) ;
99
1010impl CdevPin {
1111 /// See [`gpio_cdev::Line::request`][0] for details.
1212 ///
13- /// [0]: https://docs.rs/gpio-cdev/0.2 .0/gpio_cdev/struct.Line.html#method.request
13+ /// [0]: https://docs.rs/gpio-cdev/0.5 .0/gpio_cdev/struct.Line.html#method.request
1414 pub fn new ( handle : gpio_cdev:: LineHandle ) -> Result < Self , gpio_cdev:: errors:: Error > {
1515 let info = handle. line ( ) . info ( ) ?;
1616 Ok ( CdevPin ( handle, info. is_active_low ( ) ) )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use std::path::{Path, PathBuf};
77
88/// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits
99///
10- /// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.3.1 /i2cdev/linux/struct.LinuxI2CDevice.html
10+ /// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.5.0 /i2cdev/linux/struct.LinuxI2CDevice.html
1111pub struct I2cdev {
1212 inner : i2cdev:: linux:: LinuxI2CDevice ,
1313 path : PathBuf ,
@@ -17,7 +17,7 @@ pub struct I2cdev {
1717impl I2cdev {
1818 /// See [`i2cdev::linux::LinuxI2CDevice::new`][0] for details.
1919 ///
20- /// [0]: https://docs.rs/i2cdev/0.3.1 /i2cdev/linux/struct.LinuxI2CDevice.html#method.new
20+ /// [0]: https://docs.rs/i2cdev/0.5.0 /i2cdev/linux/struct.LinuxI2CDevice.html#method.new
2121 pub fn new < P > ( path : P ) -> Result < Self , i2cdev:: linux:: LinuxI2CError >
2222 where
2323 P : AsRef < Path > ,
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ use std::path::Path;
99
1010/// Newtype around [`spidev::Spidev`] that implements the `embedded-hal` traits
1111///
12- /// [`spidev::Spidev`]: https://docs.rs/spidev/0.4 .0/spidev/struct.Spidev.html
12+ /// [`spidev::Spidev`]: https://docs.rs/spidev/0.5 .0/spidev/struct.Spidev.html
1313pub struct Spidev ( pub spidev:: Spidev ) ;
1414
1515impl Spidev {
1616 /// See [`spidev::Spidev::open`][0] for details.
1717 ///
18- /// [0]: https://docs.rs/spidev/0.4 .0/spidev/struct.Spidev.html#method.open
18+ /// [0]: https://docs.rs/spidev/0.5 .0/spidev/struct.Spidev.html#method.open
1919 pub fn open < P > ( path : P ) -> io:: Result < Self >
2020 where
2121 P : AsRef < Path > ,
Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ use std::path::Path;
66
77/// Newtype around [`sysfs_gpio::Pin`] that implements the `embedded-hal` traits
88///
9- /// [`sysfs_gpio::Pin`]: https://docs.rs/sysfs_gpio/0.5.1 /sysfs_gpio/struct.Pin.html
9+ /// [`sysfs_gpio::Pin`]: https://docs.rs/sysfs_gpio/0.6.0 /sysfs_gpio/struct.Pin.html
1010pub struct SysfsPin ( pub sysfs_gpio:: Pin ) ;
1111
1212impl SysfsPin {
1313 /// See [`sysfs_gpio::Pin::new`][0] for details.
1414 ///
15- /// [0]: https://docs.rs/sysfs_gpio/0.5.1 /sysfs_gpio/struct.Pin.html#method.new
15+ /// [0]: https://docs.rs/sysfs_gpio/0.6.0 /sysfs_gpio/struct.Pin.html#method.new
1616 pub fn new ( pin_num : u64 ) -> Self {
1717 SysfsPin ( sysfs_gpio:: Pin :: new ( pin_num) )
1818 }
1919
2020 /// See [`sysfs_gpio::Pin::from_path`][0] for details.
2121 ///
22- /// [0]: https://docs.rs/sysfs_gpio/0.5.1 /sysfs_gpio/struct.Pin.html#method.from_path
22+ /// [0]: https://docs.rs/sysfs_gpio/0.6.0 /sysfs_gpio/struct.Pin.html#method.from_path
2323 pub fn from_path < P > ( path : P ) -> sysfs_gpio:: Result < Self >
2424 where
2525 P : AsRef < Path > ,
You can’t perform that action at this time.
0 commit comments