File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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) ]
5654pub fn read ( ) -> Apsr {
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ use core::arch::asm;
55use 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) ]
1210pub 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]
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ use core::arch::asm;
55use 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) ]
1210pub 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) ]
2319pub unsafe fn write ( bits : u32 ) {
You can’t perform that action at this time.
0 commit comments