Skip to content

Commit f4c43da

Browse files
committed
Update fn comments that used to refer to inline-asm
1 parent 3cbd536 commit f4c43da

3 files changed

Lines changed: 0 additions & 10 deletions

File tree

cortex-m/src/register/apsr.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ impl Apsr {
4949
}
5050

5151
/// Reads the CPU register
52-
///
53-
/// **NOTE** This function is available if `cortex-m` is built with the `"inline-asm"` feature.
5452
#[inline]
5553
#[asm_cfg(cortex_m)]
5654
pub fn read() -> Apsr {

cortex-m/src/register/lr.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ use core::arch::asm;
55
use cortex_m_macros::asm_cfg;
66

77
/// Reads the CPU register
8-
///
9-
/// **NOTE** This function is available if `cortex-m` is built with the `"inline-asm"` feature.
108
#[inline]
119
#[asm_cfg(cortex_m)]
1210
pub fn read() -> u32 {
@@ -17,8 +15,6 @@ pub fn read() -> u32 {
1715

1816
/// Writes `bits` to the CPU register
1917
///
20-
/// **NOTE** This function is available if `cortex-m` is built with the `"inline-asm"` feature.
21-
///
2218
/// # Safety
2319
/// This function can't be used soundly.
2420
#[inline]

cortex-m/src/register/pc.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ use core::arch::asm;
55
use cortex_m_macros::asm_cfg;
66

77
/// Reads the CPU register
8-
///
9-
/// **NOTE** This function is available if `cortex-m` is built with the `"inline-asm"` feature.
108
#[inline]
119
#[asm_cfg(cortex_m)]
1210
pub fn read() -> u32 {
@@ -16,8 +14,6 @@ pub fn read() -> u32 {
1614
}
1715

1816
/// Writes `bits` to the CPU register
19-
///
20-
/// **NOTE** This function is available if `cortex-m` is built with the `"inline-asm"` feature.
2117
#[inline]
2218
#[asm_cfg(cortex_m)]
2319
pub unsafe fn write(bits: u32) {

0 commit comments

Comments
 (0)