Struct hal::output_pin::settings
ClassList > hal > output_pin > settings
Generic settings for output pins.
#include <output_pin.hpp>
Public Attributes
Type | Name |
---|---|
bool | open_drain = = false |
pin_resistor | resistor = = pin_resistor::none |
Public Attributes Documentation
variable open_drain
bool hal::output_pin::settings::open_drain;
Starting level of the output pin. HIGH voltage defined as true and LOW voltage defined as false.
variable resistor
pin_resistor hal::output_pin::settings::resistor;
Pull resistor for the pin. This generally only helpful when open drain is enabled.
The documentation for this class was generated from the following file libraries/include/libhal/output_pin.hpp