Skip to main content

config_or_otp_address

Function config_or_otp_address 

Source
pub const fn config_or_otp_address(block: u8, offset_words: u8) -> u16
Expand description

Build the param2 address for a config or OTP zone access.

block indexes one of the 32-byte blocks of the zone. offset_words indexes a 4-byte word inside that block. For 32-byte transfers offset_words must be 0.