#include <stdint.h>
Go to the source code of this file.
◆ BUSY_ERASE
◆ BUSY_IDLE
◆ BUSY_READ
◆ BUSY_WRITE
◆ CPLD_UPDATE_SIZE
#define CPLD_UPDATE_SIZE 0x80 |
◆ DUAL_BOOT_IP_BASE
#define DUAL_BOOT_IP_BASE 0x00200000 |
◆ ERASE_SUCCESS
#define ERASE_SUCCESS 0x10 |
◆ M04_CFM1_END_ADDR
#define M04_CFM1_END_ADDR 0x00049FFF |
◆ M04_CFM1_START_ADDR
#define M04_CFM1_START_ADDR 0x00027000 |
◆ ON_CHIP_FLASH_IP_CSR_STATUS_REG
#define ON_CHIP_FLASH_IP_CSR_STATUS_REG 0x00200020 |
◆ ON_CHIP_FLASH_IP_DATA_REG
#define ON_CHIP_FLASH_IP_DATA_REG 0x00000000 |
◆ READ_SUCCESS
#define READ_SUCCESS 0x04 |
◆ STATUS_BIT_MASK
#define STATUS_BIT_MASK 0x1F |
◆ WRITE_SUCCESS
#define WRITE_SUCCESS 0x08 |
◆ altera_max10_attr
◆ change_word_to_byte()
int change_word_to_byte |
( |
uint8_t * |
output, |
|
|
int |
intput |
|
) |
| |
◆ cpld_altera_max10_fw_update()
int cpld_altera_max10_fw_update |
( |
uint32_t |
offset, |
|
|
uint16_t |
msg_len, |
|
|
uint8_t * |
msg |
|
) |
| |
◆ get_register_via_i2c()
int get_register_via_i2c |
( |
int |
reg, |
|
|
int * |
val |
|
) |
| |
◆ max10_reg_read()
int max10_reg_read |
( |
int |
address | ) |
|
◆ max10_reg_write()
int max10_reg_write |
( |
int |
address, |
|
|
int |
data |
|
) |
| |
◆ max10_status_read()
int max10_status_read |
( |
void |
| ) |
|
◆ max10_write_flash_data()
int max10_write_flash_data |
( |
int |
address, |
|
|
int |
data |
|
) |
| |
◆ pal_load_altera_max10_attr()
int pal_load_altera_max10_attr |
( |
| ) |
|
◆ set_register_via_i2c()
int set_register_via_i2c |
( |
int |
reg, |
|
|
int |
val |
|
) |
| |