Skip to main content

pamoja_pin_polarity_level

Function pamoja_pin_polarity_level 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_pin_polarity_level( polarity: PamojaPinPolarity, asserted: bool, ) -> PamojaPinLevel
Expand description

Returns the physical level that represents a logical state under a polarity.

ยงReturns

The level to drive, which for active-low wiring is the inverse of asserted.