@web-font-path: "roboto-debian.css";
Menu Toggle
v1.5.1
Loading...
Searching...
No Matches
bit_ops.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
#ifndef _PICO_BIT_OPS_H
8
#define _PICO_BIT_OPS_H
9
10
#include "
pico.h
"
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
30
uint32_t
__rev
(uint32_t bits);
31
38
uint64_t
__revll
(uint64_t bits);
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
__rev
uint32_t __rev(uint32_t bits)
Reverse the bits in a 32 bit word.
__revll
uint64_t __revll(uint64_t bits)
Reverse the bits in a 64 bit double word.
pico.h