embassy-rp

Crates

git

Versions

rp235xa

Flavors

embassy_rp::otp

Function get_private_random_number

Source
pub fn get_private_random_number() -> Result<u128, Error>
Expand description

Get the 128bit private random number from rows 0x4-0xb.

This ID is not exposed through the USB PICOBOOT GET_INFO command or the ROM get_sys_info() API. However note that the USB PICOBOOT OTP access point can read the entirety of page 0, so this value is not meaningfully private unless the USB PICOBOOT interface is disabled via the