#include <uhd/exception.hpp>
#include <uhd/types/wb_iface.hpp>
#include <uhd/utils/dirty_tracked.hpp>
#include <uhd/utils/noncopyable.hpp>
#include <stdint.h>
#include <unordered_map>
#include <boost/thread/locks.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/tokenizer.hpp>
#include <list>
Go to the source code of this file.
Namespaces | |
namespace | uhd |
namespace | uhd::soft_reg_field |
Macros | |
#define | UHD_DEFINE_SOFT_REG_FIELD(name, width, shift) static const uhd::soft_reg_field_t name = (((shift & 0xFF) << 8) | (width & 0xFF)) |
Typedefs | |
typedef uint32_t | uhd::soft_reg_field_t |
typedef soft_register_t< uint32_t, false, true > | uhd::soft_reg32_wo_t |
typedef soft_register_t< uint32_t, true, false > | uhd::soft_reg32_ro_t |
typedef soft_register_t< uint32_t, true, true > | uhd::soft_reg32_rw_t |
typedef soft_register_sync_t< uint32_t, false, true > | uhd::soft_reg32_wo_sync_t |
typedef soft_register_sync_t< uint32_t, true, false > | uhd::soft_reg32_ro_sync_t |
typedef soft_register_sync_t< uint32_t, true, true > | uhd::soft_reg32_rw_sync_t |
typedef soft_register_t< uint64_t, false, true > | uhd::soft_reg64_wo_t |
typedef soft_register_t< uint64_t, true, false > | uhd::soft_reg64_ro_t |
typedef soft_register_t< uint64_t, true, true > | uhd::soft_reg64_rw_t |
typedef soft_register_sync_t< uint64_t, false, true > | uhd::soft_reg64_wo_sync_t |
typedef soft_register_sync_t< uint64_t, true, false > | uhd::soft_reg64_ro_sync_t |
typedef soft_register_sync_t< uint64_t, true, true > | uhd::soft_reg64_rw_sync_t |
Enumerations | |
enum | uhd::soft_reg_flush_mode_t { uhd::OPTIMIZED_FLUSH , uhd::ALWAYS_FLUSH } |
Functions | |
UHD_INLINE bool | uhd::likely (bool expr) |
hint for the branch prediction More... | |
UHD_INLINE bool | uhd::unlikely (bool expr) |
hint for the branch prediction More... | |
UHD_INLINE size_t | uhd::soft_reg_field::width (const soft_reg_field_t field) |
UHD_INLINE size_t | uhd::soft_reg_field::shift (const soft_reg_field_t field) |
template<typename data_t > | |
UHD_INLINE data_t | uhd::soft_reg_field::mask (const soft_reg_field_t field) |
Utilities to access and index hardware registers.
This file contains three main utilities:
#define UHD_DEFINE_SOFT_REG_FIELD | ( | name, | |
width, | |||
shift | |||
) | static const uhd::soft_reg_field_t name = (((shift & 0xFF) << 8) | (width & 0xFF)) |