@@ -19,7 +19,7 @@ pub unsafe fn __clrex() {
1919 clrex ( )
2020}
2121
22- /// Executes a exclusive LDR instruction for 8 bit value.
22+ /// Executes an exclusive LDR instruction for 8 bit value.
2323// Supported: v6K, v7-M, v7-A, v7-R
2424// Not supported: v5, v6, v6-M
2525#[ cfg( any(
@@ -35,7 +35,7 @@ pub unsafe fn __ldrexb(p: *const u8) -> u8 {
3535 ldrex8 ( p) as u8
3636}
3737
38- /// Executes a exclusive LDR instruction for 16 bit value.
38+ /// Executes an exclusive LDR instruction for 16 bit value.
3939// Supported: v6K, v7-M, v7-A, v7-R, v8
4040// Not supported: v5, v6, v6-M
4141#[ cfg( any(
@@ -51,7 +51,7 @@ pub unsafe fn __ldrexh(p: *const u16) -> u16 {
5151 ldrex16 ( p) as u16
5252}
5353
54- /// Executes a exclusive LDR instruction for 32 bit value.
54+ /// Executes an exclusive LDR instruction for 32 bit value.
5555// Supported: v6, v7-M, v6K, v7-A, v7-R, v8
5656// Not supported: v5, v6-M
5757#[ cfg( any(
@@ -68,7 +68,7 @@ pub unsafe fn __ldrex(p: *const u32) -> u32 {
6868 ldrex32 ( p)
6969}
7070
71- /// Executes a exclusive STR instruction for 8 bit values
71+ /// Executes an exclusive STR instruction for 8 bit values
7272///
7373/// Returns `0` if the operation succeeded, or `1` if it failed
7474// supported: v6K, v7-M, v7-A, v7-R
@@ -86,7 +86,7 @@ pub unsafe fn __strexb(value: u32, addr: *mut u8) -> u32 {
8686 strex8 ( value, addr)
8787}
8888
89- /// Executes a exclusive STR instruction for 16 bit values
89+ /// Executes an exclusive STR instruction for 16 bit values
9090///
9191/// Returns `0` if the operation succeeded, or `1` if it failed
9292// Supported: v6K, v7-M, v7-A, v7-R, v8
@@ -105,7 +105,7 @@ pub unsafe fn __strexh(value: u16, addr: *mut u16) -> u32 {
105105 strex16 ( value as u32 , addr)
106106}
107107
108- /// Executes a exclusive STR instruction for 32 bit values
108+ /// Executes an exclusive STR instruction for 32 bit values
109109///
110110/// Returns `0` if the operation succeeded, or `1` if it failed
111111// Supported: v6, v7-M, v6K, v7-A, v7-R, v8
0 commit comments