Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 4 of 4) sorted by relevance

/hal_ambiq-latest/mcu/apollo4p/hal/
Dam_hal_otp.c66 static uint32_t validate_otp_offset(uint32_t offset) in validate_otp_offset() argument
68 if ((offset & 0x3) || (offset > (AM_REG_OTP_SIZE - 4))) in validate_otp_offset()
85 uint32_t am_hal_otp_read_word(uint32_t offset, uint32_t *pVal) in am_hal_otp_read_word() argument
90 status = validate_otp_offset(offset); in am_hal_otp_read_word()
108 *pVal = am_hal_load_ui32((uint32_t *)(AM_REG_OTP_BASEADDR + offset)); in am_hal_otp_read_word()
111 *pVal = AM_REGVAL(AM_REG_OTP_BASEADDR + offset); in am_hal_otp_read_word()
147 uint32_t am_hal_otp_write_word(uint32_t offset, uint32_t value) in am_hal_otp_write_word() argument
152 status = validate_otp_offset(offset); in am_hal_otp_write_word()
165 otp_write_word_func(offset, value); in am_hal_otp_write_word()
167 if ((am_hal_load_ui32((uint32_t *)(AM_REG_OTP_BASEADDR + offset)) & value) != value) in am_hal_otp_write_word()
[all …]
Dam_hal_otp.h70 uint32_t am_hal_otp_read_word(uint32_t offset, uint32_t *pVal);
84 uint32_t am_hal_otp_write_word(uint32_t offset, uint32_t value);
Dam_hal_dcu.c69 uint32_t offset = gStartOff; in get_raw_dcu_mask() local
75 ui64Mask |= (uint64_t)threeBitVal << offset; in get_raw_dcu_mask()
77 offset += 3; in get_raw_dcu_mask()
/hal_ambiq-latest/mcu/apollo4p/hal/mcu/
Dam_hal_secure_ota.h180 uint32_t offset : 12; member