diff options
author | Karl Palsson <karlp@tweak.net.au> | 2019-03-24 08:55:28 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2019-03-24 08:55:28 +0000 |
commit | 0f23dacaef1fcd52573805a1ace817066a4ede93 (patch) | |
tree | 7c957b6bca640542ec29d0a2d405a57d6a9c2bfa /my-common-code/api-asm.h | |
parent | d1bb072d2be13506012b589b2d0db8e108ce621e (diff) | |
download | stm32f103c8-examples-0f23dacaef1fcd52573805a1ace817066a4ede93.tar stm32f103c8-examples-0f23dacaef1fcd52573805a1ace817066a4ede93.tar.zst stm32f103c8-examples-0f23dacaef1fcd52573805a1ace817066a4ede93.zip |
add missing asm demo files.
that was lame, sorry about that.
Diffstat (limited to 'my-common-code/api-asm.h')
-rw-r--r-- | my-common-code/api-asm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/my-common-code/api-asm.h b/my-common-code/api-asm.h new file mode 100644 index 0000000..b153620 --- /dev/null +++ b/my-common-code/api-asm.h @@ -0,0 +1,7 @@ +#include <stdint.h> +/** + * Reverse bytes in words + * @param in word in form abcd + * @returns word in form dcba + */ +uint32_t rev_bytes(uint32_t in); |