STM32LIB
Main Page
Namespaces
Classes
Files
File List
File Members
stm32Lib
HAL
RegisterAccess
ro_t.hpp
Go to the documentation of this file.
1
#pragma once
2
6
struct
ro_t
7
{
8
static
unsigned
read
(
9
volatile
unsigned
* device,
10
unsigned
offset,
11
unsigned
mask
12
)
13
{
return
(*device & mask) >> offset; }
14
};
ro_t
Definition:
ro_t.hpp:6
ro_t::read
static unsigned read(volatile unsigned *device, unsigned offset, unsigned mask)
Definition:
ro_t.hpp:8
Generated on Sat Jun 13 2015 17:24:14 for STM32LIB by
1.8.9.1