7649f5fbd2
* Make SDRAM test cache-aware for newer MCUs. * Use the defined data bus width (instead of the fixed 8-bits). * Allow optional failure on error with verbose error messages. * Test speed is now inverted (test accepts exhaustive instead fast).
18 lines
462 B
C
18 lines
462 B
C
/*
|
|
* This file is part of the OpenMV project.
|
|
* Copyright (c) 2013/2014 Ibrahim Abdelkader <i.abdalkader@gmail.com>
|
|
* This work is licensed under the MIT license, see the file LICENSE for details.
|
|
*
|
|
* SDRAM Driver.
|
|
*
|
|
*/
|
|
#ifndef __SDRAM_H__
|
|
#define __SDRAM_H__
|
|
bool sdram_init(void);
|
|
void *sdram_start(void);
|
|
void *sdram_end(void);
|
|
void sdram_enter_low_power(void);
|
|
void sdram_leave_low_power(void);
|
|
bool sdram_test(bool exhaustive);
|
|
#endif // __SDRAM_H__
|