Functions | |
| __STATIC_INLINE void | ll_efuse_set_tpro (efuse_regs_t *EFUSEx, uint32_t time) |
| Set eFuse program time. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_tpro (efuse_regs_t *EFUSEx) |
| Get eFuse program time. More... | |
| __STATIC_INLINE void | ll_efuse_enable_main_backup (efuse_regs_t *EFUSEx) |
| Enable main area OR backup area function when read eFuse through APB bus. More... | |
| __STATIC_INLINE void | ll_efuse_disable_main_backup (efuse_regs_t *EFUSEx) |
| Disable main area OR backup area function when read eFuse through APB bus. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_is_enabled_main_backup (efuse_regs_t *EFUSEx) |
| Check if main area OR backup area reading function is enabled. More... | |
| __STATIC_INLINE void | ll_efuse_set_crc_check_len (efuse_regs_t *EFUSEx, uint32_t length) |
| Set CRC check length. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_crc_check_len (efuse_regs_t *EFUSEx) |
| Get CRC check length. More... | |
| __STATIC_INLINE void | ll_efuse_set_write_interval (efuse_regs_t *EFUSEx, uint32_t interval) |
| Set the interval number of clk cycles between two bit fuse. More... | |
| __STATIC_INLINE uint8_t | ll_efuse_get_write_interval (efuse_regs_t *EFUSEx) |
| Get the interval number of clk cycles between two bit fuse. More... | |
| __STATIC_INLINE void | ll_efuse_set_pgmen (efuse_regs_t *EFUSEx, uint8_t value) |
| Enable eFuse PGENB sigal. More... | |
| __STATIC_INLINE uint8_t | ll_efuse_get_pgmen (efuse_regs_t *EFUSEx) |
| Get eFuse PGENB sigal. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_test_mode (efuse_regs_t *EFUSEx) |
| Get test mode. More... | |
| __STATIC_INLINE void | ll_efuse_set_operation (efuse_regs_t *EFUSEx, uint32_t mode) |
| Set eFuse operation mode. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_is_active_flag (efuse_regs_t *EFUSEx, uint32_t flag) |
| Check active flag. More... | |
| __STATIC_INLINE void | ll_efuse_set_key_mask (efuse_regs_t *EFUSEx, uint32_t mask) |
| Set key mask. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_key_mask (efuse_regs_t *EFUSEx) |
| Get key mask. More... | |
| __STATIC_INLINE void | ll_efuse_set_crc_check_addr (efuse_regs_t *EFUSEx, uint32_t address) |
| Set CRC check start address. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_crc_check_addr (efuse_regs_t *EFUSEx) |
| Get CRC check start address. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_crc_check_result (efuse_regs_t *EFUSEx) |
| Get CRC check results. More... | |
| __STATIC_INLINE void | ll_efuse_set_trim_addr (efuse_regs_t *EFUSEx, uint32_t address) |
| Set read trim start address. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_trim_addr (efuse_regs_t *EFUSEx) |
| Get read trim start address. More... | |
| __STATIC_INLINE void | ll_efuse_set_trim_length (efuse_regs_t *EFUSEx, uint32_t length) |
| Set read trim length. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_trim_length (efuse_regs_t *EFUSEx) |
| Get read trim length. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_get_trim_value (efuse_regs_t *EFUSEx, uint32_t indx) |
| Get trim value. More... | |
| __STATIC_INLINE void | ll_efuse_enable_power (efuse_regs_t *EFUSEx) |
| eFuse v1.1 power on. This power must be turn on before eFuse operation. More... | |
| __STATIC_INLINE void | ll_efuse_disable_power (efuse_regs_t *EFUSEx) |
| eFuse v1.1 power off. More... | |
| __STATIC_INLINE void | ll_efuse_enable_write_power (efuse_regs_t *EFUSEx) |
| eFuse v2.5 power on. This power must be turn on before eFuse writting, and trun off when eFuse reading. More... | |
| __STATIC_INLINE void | ll_efuse_disable_write_power (efuse_regs_t *EFUSEx) |
| eFuse v2.5 power off. More... | |
| __STATIC_INLINE void | ll_efuse_set_controller_power_timing (efuse_regs_t *EFUSEx, uint16_t vddq_0, uint16_t vddq_1, uint16_t vddq_2) |
| Set Efulse power controller timing pararmeter. More... | |
| __STATIC_INLINE void | ll_efuse_enable_controller_power_begin (efuse_regs_t *EFUSEx) |
| Power sequencer begin. More... | |
| __STATIC_INLINE void | ll_efuse_enable_controller_power_stop (efuse_regs_t *EFUSEx) |
| Power sequencer begin. More... | |
| __STATIC_INLINE void | ll_efuse_disable_controller_power (efuse_regs_t *EFUSEx) |
| Power sequencer begin. More... | |
| __STATIC_INLINE uint32_t | ll_efuse_is_controller_power_flag (efuse_regs_t *EFUSEx, uint32_t flag) |
| Check power controller active flag. More... | |
| __STATIC_INLINE void ll_efuse_disable_controller_power | ( | efuse_regs_t * | EFUSEx | ) |
Power sequencer begin.
Register |BitsName --------- -|-------- PWR_CTRL0 | CTRL_ENABLE PWR_CTRL0 | SEQR_BEGIN PWR_CTRL0 | SEQR_STOP
| None |
Definition at line 665 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_disable_main_backup | ( | efuse_regs_t * | EFUSEx | ) |
Disable main area OR backup area function when read eFuse through APB bus.
Register|BitsName --------|-------- TPGM | MAIN_OR_BACKUP
| EFUSEx | eFuse instance |
| None |
Definition at line 206 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_disable_power | ( | efuse_regs_t * | EFUSEx | ) |
eFuse v1.1 power off.
Register|BitsName --------|-------- RF_REG_2 | EFUSE_VDD_EN
| None |
Definition at line 571 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_disable_write_power | ( | efuse_regs_t * | EFUSEx | ) |
eFuse v2.5 power off.
Register|BitsName --------|-------- RF_REG_2 | EFUSE_VDDQ_EN RF_REG_2 | EFUSE_VDDQ_EN_DEL
| None |
Definition at line 602 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_enable_controller_power_begin | ( | efuse_regs_t * | EFUSEx | ) |
Power sequencer begin.
Register |BitsName -----------|-------- PWR_CTRL0 | CTRL_ENABLE PWR_CTRL0 | SEQR_BEGIN
| None |
Definition at line 634 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_enable_controller_power_stop | ( | efuse_regs_t * | EFUSEx | ) |
Power sequencer begin.
Register |BitsName -----------|-------- PWR_CTRL0 | CTRL_ENABLE PWR_CTRL0 | SEQR_STOP
| None |
Definition at line 649 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_enable_main_backup | ( | efuse_regs_t * | EFUSEx | ) |
Enable main area OR backup area function when read eFuse through APB bus.
Register|BitsName --------|-------- TPGM | MAIN_OR_BACKUP
| EFUSEx | eFuse instance |
| None |
Definition at line 191 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_enable_power | ( | efuse_regs_t * | EFUSEx | ) |
eFuse v1.1 power on. This power must be turn on before eFuse operation.
Register|BitsName --------|-------- RF_REG_2 | EFUSE_VDD_EN
| None |
Definition at line 557 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_enable_write_power | ( | efuse_regs_t * | EFUSEx | ) |
eFuse v2.5 power on. This power must be turn on before eFuse writting, and trun off when eFuse reading.
Register|BitsName --------|-------- RF_REG_2 | EFUSE_VDDQ_EN RF_REG_2 | EFUSE_VDDQ_EN_DEL
| None |
Definition at line 587 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_crc_check_addr | ( | efuse_regs_t * | EFUSEx | ) |
Get CRC check start address.
Register|BitsName --------|-------- CRC_ADDR | START_CHECK_ADDR
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 0 ~ 0xFFFFFFFF |
Definition at line 449 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_crc_check_len | ( | efuse_regs_t * | EFUSEx | ) |
Get CRC check length.
Register|BitsName --------|-------- TPGM | CRC_CHECK_LEN
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 1 ~ 60 |
Definition at line 252 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_crc_check_result | ( | efuse_regs_t * | EFUSEx | ) |
Get CRC check results.
Register|BitsName --------|-------- CRC_OUTPUT | OUTPUT_VALUE
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 0 ~ 0xFFFFFFFF |
Definition at line 464 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_key_mask | ( | efuse_regs_t * | EFUSEx | ) |
Get key mask.
Register|BitsName --------|-------- KEY_MASK | KEY_MASK
| EFUSEx | eFuse instance |
| None |
Definition at line 417 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint8_t ll_efuse_get_pgmen | ( | efuse_regs_t * | EFUSEx | ) |
Get eFuse PGENB sigal.
Register|BitsName --------|-------- PGENB | PGMEN_CTRL
| EFUSEx | eFuse instance |
| None |
Definition at line 314 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_test_mode | ( | efuse_regs_t * | EFUSEx | ) |
Get test mode.
Register|BitsName --------|-------- TEST_MODE | TEST_MODE
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 0xFFFF |
Definition at line 330 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_tpro | ( | efuse_regs_t * | EFUSEx | ) |
Get eFuse program time.
Register|BitsName --------|-------- TPGM | TIME
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 0 ~ 0xFFF |
Definition at line 176 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_trim_addr | ( | efuse_regs_t * | EFUSEx | ) |
Get read trim start address.
Register|BitsName --------|-------- TRIM_ADDR | START_ADDR
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 0 ~ 0xFFFFFFFF |
Definition at line 496 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_trim_length | ( | efuse_regs_t * | EFUSEx | ) |
Get read trim length.
Register|BitsName --------|-------- TRIM_LEN | LENGTH
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 1 ~ 14 |
Definition at line 527 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_get_trim_value | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | indx | ||
| ) |
Get trim value.
Register|BitsName --------|-------- TRIM[n] | TRIM
| EFUSEx | eFuse instance |
| indx | index of trim value registers: 0 ~ 13 |
| Returned | value can be one of the following values: 0 ~ 0xFFFFFFFF |
Definition at line 543 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint8_t ll_efuse_get_write_interval | ( | efuse_regs_t * | EFUSEx | ) |
Get the interval number of clk cycles between two bit fuse.
Register|BitsName --------|-------- TPGM | WRITE_INTERVAL
| EFUSEx | eFuse instance |
| Returned | value can be one of the following values: 0 ~ 0xFF |
Definition at line 283 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_is_active_flag | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | flag | ||
| ) |
Check active flag.
Register|BitsName --------|-------- STAT | WRITE_KEYRAM_BUSY STAT | READ_TRIM_DONE STAT | TRIM_CRC_SUCCESS STAT | INIT_DONE STAT | INIT_SUCCESS STAT | CRC_CHECK_DONE STAT | WRITE_DONE STAT | TEST_MODE_DONE
| EFUSEx | eFuse instance |
| flag | This parameter can be one of the following values: |
| State | of bit (1 or 0). |
Definition at line 386 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_is_controller_power_flag | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | flag | ||
| ) |
Check power controller active flag.
Register|BitsName --------|-------- PWR_CTRL1 | EN_DONE PWR_CTRL1 | DIS_DONE
| EFUSEx | eFuse instance |
| flag | This parameter can be one of the following values: |
| State | of bit (1 or 0). |
Definition at line 684 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE uint32_t ll_efuse_is_enabled_main_backup | ( | efuse_regs_t * | EFUSEx | ) |
Check if main area OR backup area reading function is enabled.
Register|BitsName --------|-------- TPGM | MAIN_OR_BACKUP
| EFUSEx | eFuse instance |
| State | of bit (1 or 0). |
Definition at line 221 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_controller_power_timing | ( | efuse_regs_t * | EFUSEx, |
| uint16_t | vddq_0, | ||
| uint16_t | vddq_1, | ||
| uint16_t | vddq_2 | ||
| ) |
Set Efulse power controller timing pararmeter.
Register |BitsName ----------|-------- PWR_DELTA| PWR_DELTA_0 PWR_DELTA| PWR_DELTA_1 PWR_DELTA| PWR_DELTA_2
| None |
Definition at line 618 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_crc_check_addr | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | address | ||
| ) |
Set CRC check start address.
Register|BitsName --------|-------- CRC_ADDR | START_CHECK_ADDR
| EFUSEx | eFuse instance |
| address | This parameter can be one of the following values: 0 ~ 0xFFFFFFFF |
| None |
Definition at line 434 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_crc_check_len | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | length | ||
| ) |
Set CRC check length.
Register|BitsName --------|-------- TPGM | CRC_CHECK_LEN
| EFUSEx | eFuse instance |
| length | This parameter can be one of the following values: 1 ~ 60 |
| None |
Definition at line 237 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_key_mask | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | mask | ||
| ) |
Set key mask.
Register|BitsName --------|-------- KEY_MASK | KEY_MASK
| EFUSEx | eFuse instance |
| mask | Key mask |
| None |
Definition at line 402 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_operation | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | mode | ||
| ) |
Set eFuse operation mode.
Register|BitsName --------|-------- OPERATION | WRITE_KEYRAM OPERATION | INIT_CHECK OPERATION | CRC_CHECK OPERATION | READ_TRIM OPERATION | RD_TEST_MODE
| EFUSEx | eFuse instance |
| mode | This parameter can be one of the following values: |
| None |
Definition at line 355 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_pgmen | ( | efuse_regs_t * | EFUSEx, |
| uint8_t | value | ||
| ) |
Enable eFuse PGENB sigal.
Register|BitsName --------|-------- PGENB | PGMEN_CTRL
| EFUSEx | eFuse instance |
| value | eFuse value |
| None |
Definition at line 299 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_tpro | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | time | ||
| ) |
Set eFuse program time.
Register|BitsName --------|-------- TPGM | TIME
| EFUSEx | eFuse instance |
| time | This parameter can be one of the following values: 0 ~ 0xFFF |
| None |
Definition at line 161 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_trim_addr | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | address | ||
| ) |
Set read trim start address.
Register|BitsName --------|-------- TRIM_ADDR | START_ADDR
| EFUSEx | eFuse instance |
| address | This parameter can be one of the following values: 0 ~ 0xFFFFFFFF |
| None |
Definition at line 481 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_trim_length | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | length | ||
| ) |
Set read trim length.
Register|BitsName --------|-------- TRIM_LEN | LENGTH
| EFUSEx | eFuse instance |
| length | This parameter can be one of the following values: 1 ~ 14 |
| None |
Definition at line 512 of file gr55xx_ll_efuse.h.
| __STATIC_INLINE void ll_efuse_set_write_interval | ( | efuse_regs_t * | EFUSEx, |
| uint32_t | interval | ||
| ) |
Set the interval number of clk cycles between two bit fuse.
Register|BitsName --------|-------- TPGM | WRITE_INTERVAL
| EFUSEx | eFuse instance |
| interval | This parameter can be one of the following values: 0 ~ 0xFF |
| None |
Definition at line 268 of file gr55xx_ll_efuse.h.