Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions include/zephyr/sys/sys_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ typedef uintptr_t mem_addr_t;
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test (from 0 to 31)
*
* @return 1 if it is set, 0 otherwise
* @return the bitwise AND result of @p addr content and (1 << @p bit).
* Result is 0 only if the bit is cleared otherwise result is a non-0 value.
*/

/**
Expand All @@ -298,7 +299,8 @@ typedef uintptr_t mem_addr_t;
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and set (from 0 to 31)
*
* @return 1 if it was set, 0 otherwise
* @return the bitwise AND result of @p addr content and (1 << @p bit) before target bit
* is set. Result is 0 only if the bit was cleared otherwise result is a non-0 value.
*/

/**
Expand All @@ -311,7 +313,8 @@ typedef uintptr_t mem_addr_t;
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and clear (from 0 to 31)
*
* @return 0 if it was clear, 1 otherwise
* @return the bitwise AND result of @p addr content and (1 << @p bit) before target bit
* is cleared. Result is 0 only if the bit was cleared otherwise result is a non-0 value.
*/

/**
Expand Down Expand Up @@ -344,7 +347,8 @@ typedef uintptr_t mem_addr_t;
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test (arbitrary
*
* @return 1 if it is set, 0 otherwise
* @return the bitwise AND result of @p addr content and (1 << @p bit). Result is 0
* only if the bit is cleared otherwise result is a non-0 value.
*/

/**
Expand All @@ -357,7 +361,8 @@ typedef uintptr_t mem_addr_t;
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and set (arbitrary)
*
* @return 1 if it was set, 0 otherwise
* @return the bitwise AND result of @p addr content and (1 << @p bit) before target bit
* is set. Result is 0 only if the bit was cleared otherwise result is a non-0 value.
*/

/**
Expand All @@ -370,7 +375,8 @@ typedef uintptr_t mem_addr_t;
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and clear (arbitrary)
*
* @return 0 if it was clear, 1 otherwise
* @return the bitwise AND result of @p addr content and (1 << @p bit) before target bit
* is cleared. Result is 0 only if the bit was cleared otherwise result is a non-0 value.
*/


Expand Down