stmpe1600_IO_Config() is only used within stmpe1600.
 
Symbols
loading...
Files
loading...

stmpe1600_IO_Config() function

Configure the IO pin(s) according to IO mode structure value.

Syntax

uint8_t stmpe1600_IO_Config(uint16_t DeviceAddr,     uint32_t IO_Pin,     IO_ModeTypedef IO_Mode);
Implemented in stmpe1600.c:290

Arguments

DeviceAddr

Device address on communication Bus.

IO_Pin

The output pin to be set or reset. This parameter can be one of the following values: @arg STMPE1600_PIN_x: where x can be from 0 to 7.

IO_Mode

The IO pin mode to configure, could be one of the following values: @arg IO_MODE_INPUT @arg IO_MODE_OUTPUT @arg IO_MODE_IT_RISING_EDGE @arg IO_MODE_IT_FALLING_EDGE

Return value

0 if no error, IO_Mode if error

References

LocationText
stmpe1600.c:290
uint8_t stmpe1600_IO_Config(uint16_t DeviceAddr, uint32_t IO_Pin, IO_ModeTypedef IO_Mode)
stmpe1600.h:150
uint8_t stmpe1600_IO_Config(uint16_t DeviceAddr, uint32_t IO_Pin, IO_ModeTypedef IO_Mode);
stmpe1600.c:67
stmpe1600_IO_Config,

Call Tree

Data read by stmpe1600_IO_Config()
Data written by stmpe1600_IO_Config()
stmpe1600_IO_Config()
stmpe1600_IO_Config()::error_code
all items filtered out
Implementations
stmpe1600_IO_Config()
all items filtered out
Type of stmpe1600_IO_Config()
stmpe1600_IO_Config()
uint8_t
all items filtered out