OpenOCD
lattice.h File Reference
Include dependency graph for lattice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lattice_pld_device
 

Macros

#define BYPASS   0xFF
 

Functions

int lattice_preload (struct lattice_pld_device *lattice_device)
 
int lattice_read_u32_register (struct jtag_tap *tap, uint8_t cmd, uint32_t *in_val, uint32_t out_val, bool do_idle)
 
int lattice_read_u64_register (struct jtag_tap *tap, uint8_t cmd, uint64_t *in_val, uint64_t out_val)
 
int lattice_set_instr (struct jtag_tap *tap, uint8_t new_instr, tap_state_t endstate)
 
int lattice_verify_status_register_u32 (struct lattice_pld_device *lattice_device, uint32_t out, uint32_t expected, uint32_t mask, bool do_idle)
 
int lattice_verify_status_register_u64 (struct lattice_pld_device *lattice_device, uint64_t out, uint64_t expected, uint64_t mask)
 
int lattice_verify_usercode (struct lattice_pld_device *lattice_device, uint32_t out, uint32_t expected, uint32_t mask)
 

Macro Definition Documentation

◆ BYPASS

#define BYPASS   0xFF

Definition at line 15 of file lattice.h.

Function Documentation

◆ lattice_preload()

◆ lattice_read_u32_register()

◆ lattice_read_u64_register()

int lattice_read_u64_register ( struct jtag_tap tap,
uint8_t  cmd,
uint64_t *  in_val,
uint64_t  out_val 
)

◆ lattice_set_instr()

◆ lattice_verify_status_register_u32()

int lattice_verify_status_register_u32 ( struct lattice_pld_device lattice_device,
uint32_t  out,
uint32_t  expected,
uint32_t  mask,
bool  do_idle 
)

◆ lattice_verify_status_register_u64()

int lattice_verify_status_register_u64 ( struct lattice_pld_device lattice_device,
uint64_t  out,
uint64_t  expected,
uint64_t  mask 
)

◆ lattice_verify_usercode()

int lattice_verify_usercode ( struct lattice_pld_device lattice_device,
uint32_t  out,
uint32_t  expected,
uint32_t  mask 
)