diff options
Diffstat (limited to 'goal.fiddle')
-rw-r--r-- | goal.fiddle | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/goal.fiddle b/goal.fiddle index 8b8a93b..24203b5 100644 --- a/goal.fiddle +++ b/goal.fiddle @@ -44,10 +44,10 @@ package stm32l4.gpio { } [16]; }; + assert_pos(0x04); /** * The output type. */ - assert_pos(0x04); [[ noexport ]] reg ocfg_r(32) : struct { otype_r : enum(1) { @@ -67,11 +67,10 @@ package stm32l4.gpio { reserved(16); // Have to pad out the remaining 16 bits. }; + assert_pos(0x08); /** * Sets the speed of the provided GPIO pin. */ - assert_pos(0x08); - [[ noexport ]] reg (32) : struct { ospeed_r : enum(2) { |