uint8_t addr
Definition: isl69259.c:0
lattice_dev_type
Definition: lattice.h:22
@ LATTICE_LCMX03_9400C
Definition: lattice.h:28
@ LATTICE_UNKNOWN
Definition: lattice.h:30
@ LATTICE_LCMX02_2000HC
Definition: lattice.h:23
@ LATTICE_LCMX02_7000HC
Definition: lattice.h:25
@ LATTICE_LCMX03_2100C
Definition: lattice.h:26
@ LATTICE_LCMX02_4000HC
Definition: lattice.h:24
@ LATTICE_LCMX03_4300C
Definition: lattice.h:27
@ LATTICE_LFMNX_50
Definition: lattice.h:29
bool(* cpld_jtag_update_func)(lattice_update_config_t *config)
Definition: lattice.h:71
bool(* cpld_i2C_update_func)(lattice_update_config_t *config)
Definition: lattice.h:70
enum lattice_dev_type lattice_dev_type_t
struct lattice_update_config lattice_update_config_t
bool cpld_i2c_get_id(uint8_t bus, uint8_t addr, uint32_t *dev_id)
Definition: lattice.c:554
lattice_dev_type_t find_type_by_str(char *str)
Definition: lattice.c:541
bool lattice_fwupdate(lattice_update_config_t *config)
Definition: lattice.c:772
sector_type
Definition: lattice.h:33
@ CFG1
Definition: lattice.h:35
@ UFM2
Definition: lattice.h:38
@ UFM0
Definition: lattice.h:36
@ CFG0
Definition: lattice.h:34
@ UFM1
Definition: lattice.h:37
@ CPLD_TAR_I2C
Definition: lattice.h:42
@ CPLD_TAR_JTAG
Definition: lattice.h:43
bool cpld_i2c_get_usercode(uint8_t bus, uint8_t addr, uint32_t *usercode)
Definition: lattice.c:586
cpld_jtag_update_func cpld_jtag_update
Definition: lattice.h:77
cpld_i2C_update_func cpld_i2C_update
Definition: lattice.h:76
uint32_t id
Definition: lattice.h:75
uint32_t FEARBits
Definition: lattice.h:54
uint32_t FeatureRow
Definition: lattice.h:55
unsigned long int QF
Definition: lattice.h:47
uint32_t CF_Line
Definition: lattice.h:49
uint32_t Version
Definition: lattice.h:52
uint32_t UFM_Line
Definition: lattice.h:51
uint32_t CheckSum
Definition: lattice.h:53
uint32_t * UFM
Definition: lattice.h:50
uint32_t * CF
Definition: lattice.h:48
uint8_t bus
Definition: lattice.h:61
uint32_t next_ofs
Definition: lattice.h:66
lattice_dev_type_t type
Definition: lattice.h:59
uint8_t addr
Definition: lattice.h:62
uint32_t next_len
Definition: lattice.h:67
uint32_t data_len
Definition: lattice.h:65
uint8_t interface
Definition: lattice.h:60
uint32_t data_ofs
Definition: lattice.h:64
uint8_t * data
Definition: lattice.h:63