Serial Wombat 4A and 4B Firmware
Functions | Variables
pinDigitalHwSpecific.c File Reference
#include "serialWombat.h"

Functions

void CurrentPinInput ()
 
void CurrentPinOutput ()
 
void CurrentPinHigh ()
 
void CurrentPinLow ()
 
void SetPin (uint8_t pin, uint8_t pinState)
 
void SetCurrentPin (uint8_t pinState)
 
void SetLowMaskCurrentPin ()
 
bool CurrentPinRead ()
 
bool ReadPin (uint8_t pin)
 
void CurrentPinAnalog ()
 
void CurrentPinPullUp ()
 
void CurrentPinNoPullUp ()
 
void PinPullUp (uint8_t pin)
 
void PinNoPullUp (uint8_t pin)
 
void CurrentPinNotAnalog ()
 
void CurrentPinOpenDrain ()
 
void CurrentPinNotOpenDrain ()
 

Variables

const uint8_t PinMaskArray [4]
 
const uint8_t PinToPort [4] = {WP0_PORTPINNUM,WP1_PORTPINNUM,WP2_PORTPINNUM,WP3_PORTPINNUM}
 
volatile uint8_t CCP1SetLowMask = 0xFF
 

Function Documentation

◆ CurrentPinAnalog()

void CurrentPinAnalog ( )

◆ CurrentPinHigh()

void CurrentPinHigh ( )

◆ CurrentPinInput()

void CurrentPinInput ( )

◆ CurrentPinLow()

void CurrentPinLow ( )

◆ CurrentPinNoPullUp()

void CurrentPinNoPullUp ( )

◆ CurrentPinNotAnalog()

void CurrentPinNotAnalog ( )

◆ CurrentPinNotOpenDrain()

void CurrentPinNotOpenDrain ( )

◆ CurrentPinOpenDrain()

void CurrentPinOpenDrain ( )

◆ CurrentPinOutput()

void CurrentPinOutput ( )

◆ CurrentPinPullUp()

void CurrentPinPullUp ( )

◆ CurrentPinRead()

bool CurrentPinRead ( )

◆ PinNoPullUp()

void PinNoPullUp ( uint8_t  pin)

◆ PinPullUp()

void PinPullUp ( uint8_t  pin)

◆ ReadPin()

bool ReadPin ( uint8_t  pin)

◆ SetCurrentPin()

void SetCurrentPin ( uint8_t  pinState)

◆ SetLowMaskCurrentPin()

void SetLowMaskCurrentPin ( )

◆ SetPin()

void SetPin ( uint8_t  pin,
uint8_t  pinState 
)

Variable Documentation

◆ CCP1SetLowMask

volatile uint8_t CCP1SetLowMask = 0xFF

◆ PinMaskArray

const uint8_t PinMaskArray[4]
Initial value:
= {
1<<WP0_PORTPINNUM,
1<<WP1_PORTPINNUM,
1<<WP2_PORTPINNUM,
1<<WP3_PORTPINNUM
}

◆ PinToPort

const uint8_t PinToPort[4] = {WP0_PORTPINNUM,WP1_PORTPINNUM,WP2_PORTPINNUM,WP3_PORTPINNUM}