Fix typos “a”→“an”

This commit is contained in:
Frank Steffahn 2021-08-22 14:22:34 +02:00 committed by Amanieu d'Antras
parent 78bef173f4
commit 5b5df599d3

View file

@ -19,7 +19,7 @@ pub unsafe fn __clrex() {
clrex()
}
/// Executes a exclusive LDR instruction for 8 bit value.
/// Executes an exclusive LDR instruction for 8 bit value.
// Supported: v6K, v7-M, v7-A, v7-R
// Not supported: v5, v6, v6-M
#[cfg(any(
@ -35,7 +35,7 @@ pub unsafe fn __ldrexb(p: *const u8) -> u8 {
ldrex8(p) as u8
}
/// Executes a exclusive LDR instruction for 16 bit value.
/// Executes an exclusive LDR instruction for 16 bit value.
// Supported: v6K, v7-M, v7-A, v7-R, v8
// Not supported: v5, v6, v6-M
#[cfg(any(
@ -51,7 +51,7 @@ pub unsafe fn __ldrexh(p: *const u16) -> u16 {
ldrex16(p) as u16
}
/// Executes a exclusive LDR instruction for 32 bit value.
/// Executes an exclusive LDR instruction for 32 bit value.
// Supported: v6, v7-M, v6K, v7-A, v7-R, v8
// Not supported: v5, v6-M
#[cfg(any(
@ -68,7 +68,7 @@ pub unsafe fn __ldrex(p: *const u32) -> u32 {
ldrex32(p)
}
/// Executes a exclusive STR instruction for 8 bit values
/// Executes an exclusive STR instruction for 8 bit values
///
/// Returns `0` if the operation succeeded, or `1` if it failed
// supported: v6K, v7-M, v7-A, v7-R
@ -86,7 +86,7 @@ pub unsafe fn __strexb(value: u32, addr: *mut u8) -> u32 {
strex8(value, addr)
}
/// Executes a exclusive STR instruction for 16 bit values
/// Executes an exclusive STR instruction for 16 bit values
///
/// Returns `0` if the operation succeeded, or `1` if it failed
// Supported: v6K, v7-M, v7-A, v7-R, v8
@ -105,7 +105,7 @@ pub unsafe fn __strexh(value: u16, addr: *mut u16) -> u32 {
strex16(value as u32, addr)
}
/// Executes a exclusive STR instruction for 32 bit values
/// Executes an exclusive STR instruction for 32 bit values
///
/// Returns `0` if the operation succeeded, or `1` if it failed
// Supported: v6, v7-M, v6K, v7-A, v7-R, v8