OpenOCD
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define OPENOCD_PLD_ECP2_3_H
#include "lattice.h"
lattice_ecp2_3_read_status(struct jtag_tap *, uint32_t *, uint32_t, bool);
lattice_ecp2_3_read_usercode(struct jtag_tap *, uint32_t *, uint32_t);
lattice_ecp2_3_write_usercode(struct lattice_pld_device *, uint32_t);
lattice_ecp2_load(struct lattice_pld_device *, struct lattice_bit_file *);
lattice_ecp3_load(struct lattice_pld_device *, struct lattice_bit_file *);
lattice_ecp2_3_connect_spi_to_jtag(struct lattice_pld_device *);
lattice_ecp2_3_disconnect_spi_from_jtag(struct lattice_pld_device *);
lattice_ecp2_3_get_facing_read_bits(struct lattice_pld_device *, unsigned int *);
lattice_ecp2_3_refresh(struct lattice_pld_device *);
Files
loading...
SourceVu
Development Tools
OpenOCD
src/pld/ecp2_3.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2022 by Daniel Anselmi *
* danselmi@gmx.ch *
***************************************************************************/
/* ... */
#ifndef
OPENOCD_PLD_ECP2_3_H
#define
OPENOCD_PLD_ECP2_3_H
#include
"
lattice.h"
int
lattice_ecp2_3_read_status
(
struct
jtag_tap
*
tap
,
uint32_t
*
status
,
uint32_t
out
,
bool
do_idle
)
;
int
lattice_ecp2_3_read_usercode
(
struct
jtag_tap
*
tap
,
uint32_t
*
usercode
,
uint32_t
out
)
;
int
lattice_ecp2_3_write_usercode
(
struct
lattice_pld_device
*
lattice_device
,
uint32_t
usercode
)
;
int
lattice_ecp2_load
(
struct
lattice_pld_device
*
lattice_device
,
struct
lattice_bit_file
*
bit_file
)
;
int
lattice_ecp3_load
(
struct
lattice_pld_device
*
lattice_device
,
struct
lattice_bit_file
*
bit_file
)
;
int
lattice_ecp2_3_connect_spi_to_jtag
(
struct
lattice_pld_device
*
pld_device_info
)
;
int
lattice_ecp2_3_disconnect_spi_from_jtag
(
struct
lattice_pld_device
*
pld_device_info
)
;
int
lattice_ecp2_3_get_facing_read_bits
(
struct
lattice_pld_device
*
pld_device_info
,
unsigned
int
*
facing_read_bits
)
;
int
lattice_ecp2_3_refresh
(
struct
lattice_pld_device
*
lattice_device
)
;
/* ... */
#endif
/* OPENOCD_PLD_ECP2_3_H */
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
Click anywhere in the source to view detailed information here...