Article updated
at 28 Oct 2017
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.
Library function to set memory timings for the Colibri PXA270 and PXA3xx.
Library function to set memory timings for the Colibri PXA270 and PXA3xx.
- Copyright
- Copyright (c) 2012 Toradex AG
- Author
- $Author$
- Version
- $Rev$
- Date
- $Date$
- Target Platforms:
- PXAxxx
void MEMGetLibVersion |
( |
DWORD * |
pVerMaj, |
|
|
DWORD * |
pVerMin, |
|
|
DWORD * |
pBuild |
|
) |
|
|
Returns the library Version
- Parameters
-
[out] |
pVerMaj |
major version number. Set this parameter to NULL if not required. |
[out] |
pVerMin |
minor version number. Set this parameter to NULL if not required. |
[out] |
pBuild |
build number. Set this parameter to NULL if not required. |
- Return values
-
TRUE |
Success |
FALSE |
Failure |
BOOL SetMemTimingsEx |
( |
DWORD |
dwBaseAddr, |
|
|
MSCCFG * |
pTimings |
|
) |
|
|
Set the memory timings for a particular chip select
- Parameters
-
[in] |
dwBaseAddr |
Base address of the memory region that should be configured. valid addresses are: (PXA270) 0x04000000 0x0C000000 0x10000000 (PXA3xx) 0x14000000 0x16000000 0x17000000 |
[in] |
pTimings |
requested timings. See params.h for details |
- Return values
-
TRUE |
Success |
FALSE |
Failure |