OpenOCD
lpc32xx.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
/***************************************************************************
4
* Copyright (C) 2007 by Dominic Rath *
5
* Dominic.Rath@gmx.de *
6
***************************************************************************/
7
8
#ifndef OPENOCD_FLASH_NAND_LPC32XX_H
9
#define OPENOCD_FLASH_NAND_LPC32XX_H
10
11
enum
lpc32xx_selected_controller
{
12
LPC32XX_NO_CONTROLLER
,
13
LPC32XX_MLC_CONTROLLER
,
14
LPC32XX_SLC_CONTROLLER
,
15
};
16
17
struct
lpc32xx_nand_controller
{
18
int
osc_freq
;
19
enum
lpc32xx_selected_controller
selected_controller
;
20
int
sw_write_protection
;
21
uint32_t
sw_wp_lower_bound
;
22
uint32_t
sw_wp_upper_bound
;
23
};
24
25
#endif
/* OPENOCD_FLASH_NAND_LPC32XX_H */
lpc32xx_selected_controller
lpc32xx_selected_controller
Definition:
lpc32xx.h:11
LPC32XX_MLC_CONTROLLER
@ LPC32XX_MLC_CONTROLLER
Definition:
lpc32xx.h:13
LPC32XX_SLC_CONTROLLER
@ LPC32XX_SLC_CONTROLLER
Definition:
lpc32xx.h:14
LPC32XX_NO_CONTROLLER
@ LPC32XX_NO_CONTROLLER
Definition:
lpc32xx.h:12
lpc32xx_nand_controller
Definition:
lpc32xx.h:17
lpc32xx_nand_controller::sw_wp_upper_bound
uint32_t sw_wp_upper_bound
Definition:
lpc32xx.h:22
lpc32xx_nand_controller::sw_wp_lower_bound
uint32_t sw_wp_lower_bound
Definition:
lpc32xx.h:21
lpc32xx_nand_controller::sw_write_protection
int sw_write_protection
Definition:
lpc32xx.h:20
lpc32xx_nand_controller::osc_freq
int osc_freq
Definition:
lpc32xx.h:18
lpc32xx_nand_controller::selected_controller
enum lpc32xx_selected_controller selected_controller
Definition:
lpc32xx.h:19
src
flash
nand
lpc32xx.h
Generated by
1.9.1