Search by Tags

Windows CE Library - Map Register Library - (MapRegLib)

 

Article updated at 28 Oct 2017
Compare with Revision

Subscribe for this article updates

Attention: this is a legacy library and thus not supported by Toradex anymore. We recommend that you use the new libraries for all Toradex modules. Please see the Toradex CE Libraries and Code Samples for up-to-date information.

Description

This library provides for the mapping of physical registers to virtual addresses.

Current Version

V1.3

Application Notes

MapRegLib can be used to map physical registers and memory into the virtual address space of a Win CE application.

MapRegLib can also be used to allocate and free memory for use as buffers, etc to be used with DMA access to peripherals.

Library API

Click here for the library API

Other Resources

Windows CE Libraries Overview

Register Access

HW registers

Revision History

Date Rev Change Notes
27/05/2014 V1.3 VirtualSetAttributesCompat(): Add support for Tegra, but only for BSP V1.3beta2 and later
11/03/2014 V1.2 Fix: AllocPhysMemCompat() did not work on old T20/T30 images
17/06/2013 V1.1.1 Updated to work with Apalis T30