1.3.10.6 1.5.9.6 1.6.10.6 1.7.11.6 1.29.10.6 1.30.7.6 1.31.7.6 1.32.11.6 1.33.7.6 1.37.7.6 1.39.7.6 1.40.8.6 EIC_PinDebounceStateGet Function
C
bool EIC_PinDebounceStateGet ( EIC_PIN pin )
Summary
Gets the De-bounce state of the EIC Pin.
Description
This function gets the De-bounced state of the EIC Pin.
Precondition
EIC_Initialize() must have been called first for the associated instance. The debounce feature should have been enabled in MHC on the desired pin.
Parameters
Param | Description |
---|---|
pin | EIC Pin number |
Returns
True, If the EIC Pin De-bounce state is set and False otherwise.
Example
if (true == EIC_PinDebounceStateGet(EIC_PIN_3))
{
// The pin was debounced and the state of the pin is logic high.
}
Remarks
None.