Choco OS  V.0.16.9.0
Join to the chocolate world
oc_registers.h File Reference

The file with interface for registers module. More...

#include <oc_1word.h>
#include <oc_stdtypes.h>
#include <oc_registers_defs.h>
#include <oc_ba.h>
#include <oc_rmaps.h>

Go to the source code of this file.

Macros

#define oC_RegisterType_(REGISTER_NAME)
 Returns name of type for storing register value. More...
 
#define oC_RegisterSize_(REGISTER_NAME)
 returns size of register in number of bits
 
#define oC_RegisterByBaseAddress(BaseAddress, REGISTER_NAME)
 Access to register with dynamic base address. More...
 
#define oC_Register(BASE_NAME, REGISTER_NAME)
 Access to register via base address name. More...
 

Typedefs

typedef volatile oC_UInt_t oC_Register_t
 type for storing registers
 

Detailed Description


Author
Patryk Kubiak
Note
Copyright (C) 2015 Patryk Kubiak patry.nosp@m.k.ku.nosp@m.biak9.nosp@m.0@gm.nosp@m.ail.c.nosp@m.om

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file oc_registers.h.