57 #include "MockHL_i2c.h"
58 #include "Mockdatabase.h"
62 #include "Mockportmacro.h"
uint8_t PEX_GetPin(uint8_t portExpander, uint8_t pin)
get pin state of port expander pins.
void PEX_SetPin(uint8_t portExpander, uint8_t pin)
sets pin to high.
void PEX_ResetPin(uint8_t portExpander, uint8_t pin)
sets pin to low.
void PEX_SetPinPolarityRetained(uint8_t portExpander, uint8_t pin)
sets pin polarity to retained.
void PEX_SetPinDirectionOutput(uint8_t portExpander, uint8_t pin)
sets pin to input.
void PEX_SetPinPolarityInverted(uint8_t portExpander, uint8_t pin)
sets pin polarity to inverted.
void PEX_SetPinDirectionInput(uint8_t portExpander, uint8_t pin)
sets pin direction to input.
Header for the driver for the NXP PCA9539 port expander module.
Headers for the configuration for the NXP PCA9539 port expander module.
#define PEX_PORT_EXPANDER1
#define TEST_ASSERT_FAIL_ASSERT(_code_under_test)
assert whether assert macro has failed
void testModuleInterfacesWithInvalidValues(void)
long FSYS_RaisePrivilege(void)
Raise privilege.