-
Notifications
You must be signed in to change notification settings - Fork 325
Open
Description
Technically the following line would have to set NVMCTRL_CTRLA_WMODE_MAN_Val instead of NVMCTRL_CTRLA_WMODE_MAN, because the latter is already shifted and therefore not meant to be written to the bitfield. This only worked, because NVMCTRL_CTRLA_WMODE_MAN_Val is 0x0, otherwise this would not have worked.
Line 91 in df89a1f
| NVMCTRL->CTRLA.bit.WMODE = NVMCTRL_CTRLA_WMODE_MAN; |
I know this is nitpicky since it works, but this code would break down if somebody used it as a reference and tried to use another mode.
Metadata
Metadata
Assignees
Labels
No labels