diff options
| author | Bob McWhirter <[email protected]> | 2021-07-22 14:18:48 -0400 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-07-22 14:18:48 -0400 |
| commit | d68f2617e663c933c11d5406c7ae12abc5e82938 (patch) | |
| tree | e5f6ac816921ef0eca6118a331147af028465ecc /examples/std/src/bin/serial.rs | |
| parent | 3655ceff279159b757d7a04ffac3483a7bf5c7b4 (diff) | |
Add a `Dbgmcu` struct capable of enabling all relevant DBGMCU.cr fields.
Includes the addition of a `dbgmcu!(...)` macro table which currently takes
the form of
(cr, $fn_name:ident)
where `$fn_name` is something like `set_dbgsleep_d1` etc.
The method is unsafe, since it's performing unsafe PAC operations.
Two examples modified to demonstrate its usage.
Diffstat (limited to 'examples/std/src/bin/serial.rs')
0 files changed, 0 insertions, 0 deletions
