RTEMS  5.1
Functions
nand-mlc.c File Reference

NAND MLC controller implementation. More...

#include <bsp/lpc32xx.h>
#include <bsp/nand-mlc.h>

Functions

uint32_t lpc32xx_mlc_page_size (void)
 
uint32_t lpc32xx_mlc_pages_per_block (void)
 
uint32_t lpc32xx_mlc_block_count (void)
 
uint32_t lpc32xx_mlc_io_width (void)
 
void lpc32xx_mlc_init (const lpc32xx_mlc_config *cfg)
 Initializes the MLC NAND controller according to cfg.
 
void lpc32xx_mlc_write_protection (uint32_t page_index_low, uint32_t page_index_high)
 
rtems_status_code lpc32xx_mlc_read_page (uint32_t page_index, void *data, void *spare, uint32_t *symbol_error_count_ptr)
 Reads the page with index page_index. More...
 
void lpc32xx_mlc_read_id (uint8_t *id, size_t n)
 
rtems_status_code lpc32xx_mlc_erase_block (uint32_t block_index)
 Erases the block with index block_index. More...
 
rtems_status_code lpc32xx_mlc_write_page_with_ecc (uint32_t page_index, const void *data, const void *spare)
 Writes the page with index page_index. More...
 

Detailed Description

NAND MLC controller implementation.