Skip to content

Commit

Permalink
Add Doc Comment To CAPACITY const
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmortsell committed Aug 23, 2023
1 parent 5cbdf6a commit 73c3f03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hal/src/efc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ pub const BASE_ADDRESS: u32 = 0x00400000;
///The Capacity in bytes of the Flash Memory.
#[cfg(feature = "flash-2M")]
pub const CAPACITY: u32 = 0x00200000;
///The Capacity in bytes of the Flash Memory.
#[cfg(feature = "flash-1M")]
pub const CAPACITY: u32 = 0x00100000;
///The Capacity in bytes of the Flash Memory.
#[cfg(feature = "flash-512K")]
pub const CAPACITY: u32 = 0x00080000;
/// The Size in bytes of a page in the Flash Memory.
Expand Down

0 comments on commit 73c3f03

Please sign in to comment.