diff --git a/src/ds3232.rs b/src/ds3232.rs index c6fce97..f3de835 100644 --- a/src/ds3232.rs +++ b/src/ds3232.rs @@ -32,7 +32,7 @@ where /// Enable the 32kHz output when battery-powered. (enabled per default) /// /// Additionally, the 32kHz output needs to be enabled. See - /// [`enable_32khz_output`](#method.enable_32khz_output). + /// [`enable_32khz_output()`](#method.enable_32khz_output). /// /// Note: This is only available for DS3232 and DS3234 devices. pub fn enable_32khz_output_on_battery(&mut self) -> Result<(), Error> { @@ -43,7 +43,7 @@ where /// Disable the 32kHz output when battery-powered. /// /// The 32kHz output will still generate a wave when not battery-powered if - /// it enabled. See [`enable_32khz_output`](#method.enable_32khz_output). + /// it enabled. See [`enable_32khz_output()`](#method.enable_32khz_output). /// /// Note: This is only available for DS3232 and DS3234 devices. pub fn disable_32khz_output_on_battery(&mut self) -> Result<(), Error> { diff --git a/src/ds3234.rs b/src/ds3234.rs index d8d3b00..3172204 100644 --- a/src/ds3234.rs +++ b/src/ds3234.rs @@ -33,7 +33,7 @@ where /// Enable the 32kHz output when battery-powered. (enabled per default) /// /// Additionally, the 32kHz output needs to be enabled. See - /// [`enable_32khz_output`](#method.enable_32khz_output). + /// [`enable_32khz_output()`](#method.enable_32khz_output). /// /// Note: This is only available for DS3232 and DS3234 devices. pub fn enable_32khz_output_on_battery(&mut self) -> Result<(), Error> { @@ -44,7 +44,7 @@ where /// Disable the 32kHz output when battery-powered. /// /// The 32kHz output will still generate a wave when not battery-powered if - /// it enabled. See [`enable_32khz_output`](#method.enable_32khz_output). + /// it enabled. See [`enable_32khz_output()`](#method.enable_32khz_output). /// /// Note: This is only available for DS3232 and DS3234 devices. pub fn disable_32khz_output_on_battery(&mut self) -> Result<(), Error> { diff --git a/src/ds323x/status.rs b/src/ds323x/status.rs index d03d078..b1e9018 100644 --- a/src/ds323x/status.rs +++ b/src/ds323x/status.rs @@ -26,7 +26,7 @@ where /// This allows a better assessment of the validity of the timekeeping data. /// /// Once this is true, it will stay as such until cleared with - /// [`clear_has_been_stopped_flag`](#method.clear_has_been_stopped_flag) + /// [`clear_has_been_stopped_flag()`](#method.clear_has_been_stopped_flag) pub fn has_been_stopped(&mut self) -> Result> { let status = self.iface.read_register(Register::STATUS)?; Ok((status & BitFlags::OSC_STOP) != 0) diff --git a/src/lib.rs b/src/lib.rs index 1a80d8a..838b9d5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,12 +31,12 @@ //! [`clear_has_been_stopped_flag`]: struct.Ds323x.html#method.clear_has_been_stopped_flag //! [`set_aging_offset`]: struct.Ds323x.html#method.set_aging_offset //! [`enable_32khz_output`]: struct.Ds323x.html#method.enable_32khz_output -//! [`use_int_sqw_output_as_interrupt`]: Struct.Ds323x.html#method.use_int_sqw_output_as_interrupt -//! [`enable_square_wave`]: Struct.Ds323x.html#method.enable_square_wave -//! [`set_square_wave_frequency`]: Struct.Ds323x.html#method.set_square_wave_frequency -//! [`enable_32khz_output_on_battery`]: Struct.Ds323x.html#method.enable_32khz_output_on_battery -//! [`set_temperature_conversion_rate`]: Struct.Ds323x.html#method.set_temperature_conversion_rate -//! [`enable_temperature_conversions_on_battery`]: Struct.Ds323x.html#method.enable_temperature_conversions_on_battery +//! [`use_int_sqw_output_as_interrupt`]: struct.Ds323x.html#method.use_int_sqw_output_as_interrupt +//! [`enable_square_wave`]: struct.Ds323x.html#method.enable_square_wave +//! [`set_square_wave_frequency`]: struct.Ds323x.html#method.set_square_wave_frequency +//! [`enable_32khz_output_on_battery`]: struct.Ds323x.html#method.enable_32khz_output_on_battery +//! [`set_temperature_conversion_rate`]: struct.Ds323x.html#method.set_temperature_conversion_rate +//! [`enable_temperature_conversions_on_battery`]: struct.Ds323x.html#method.enable_temperature_conversions_on_battery //! //! ## The devices //!