We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf1580a commit cef063cCopy full SHA for cef063c
targets/chip/lpc55s66/io/port.hpp
@@ -172,11 +172,11 @@ namespace klib::lpc55s66::io::detail::pins {
172
173
// set or clear based on the value
174
if constexpr (Enabled) {
175
- // set the open drain mode
+ // set the digimode bit
176
(*pin_select) = (*pin_select) | 0x1 << 8;
177
}
178
else {
179
- // clear the open drain bit
+ // clear the digimode bit
180
(*pin_select) = ((*pin_select) & ~(0x1 << 8));
181
182
0 commit comments