Struct lpc55_hal::peripherals::pfr::Pfr [−][src]
pub struct Pfr<State = Unknown> { pub flash_config: FlashConfig, pub _state: State, }
Fields
flash_config: FlashConfig
_state: State
Implementations
Get a readonly static reference to the customer data in CMPA.
Keeping here for reference, but this sometimes returns unexpected old versions of the CFPA page that are not seen on scratch, ping, or pong pages. Findings:
- Immediately after CFPA is updated, this method returns the latest CFPA data.
- After boot/reset, this method will potentially return expected old versions of CFPA.
- There is a pattern of how to increment VERSION to result in this method returning old CFPA versions or not which is impractical. It’s almost like there is some other cfpa page storage not documented and this bootrom method mismanages the VERSION.
Reads CFPA without use of bootrom. Appears that the bootrom method sometimes returns previous versions of the CFPA page (not seen on scratch, ping, or pong pages). This method always returns the most recently updated Cfpa from ping or pong pages.