stmpe811_IO_SetEdgeMode() is only used within stmpe811.
 
Symbols
loading...
Files
loading...

stmpe811_IO_SetEdgeMode() function

Configure the Edge for which a transition is detectable for the selected pin.

Syntax

void stmpe811_IO_SetEdgeMode(uint16_t DeviceAddr,     uint32_t IO_Pin,     uint8_t Edge);
Implemented in stmpe811.c:558

Arguments

DeviceAddr

Device address on communication Bus.

IO_Pin

The IO pin to be configured. This parameter could be any combination of the following values: @arg STMPE811_PIN_x: Where x can be from 0 to 7.

Edge

The edge which will be detected. This parameter can be one or a combination of following values: STMPE811_EDGE_FALLING and STMPE811_EDGE_RISING .

Return value

None

References

LocationReferrerText
stmpe811.c:558
void stmpe811_IO_SetEdgeMode(uint16_t DeviceAddr, uint32_t IO_Pin, uint8_t Edge)
stmpe811.h:217
void stmpe811_IO_SetEdgeMode(uint16_t DeviceAddr, uint32_t IO_Pin, uint8_t Edge);
stmpe811.c:438stmpe811_IO_Config()
stmpe811_IO_SetEdgeMode(DeviceAddr, IO_Pin, STMPE811_EDGE_RISING);
stmpe811.c:446stmpe811_IO_Config()
stmpe811_IO_SetEdgeMode(DeviceAddr, IO_Pin, STMPE811_EDGE_FALLING);

Call Tree

Functions calling stmpe811_IO_SetEdgeMode()
Functions called by stmpe811_IO_SetEdgeMode()
all items filtered out
stmpe811_IO_SetEdgeMode()
all items filtered out
Data read by stmpe811_IO_SetEdgeMode()
Data written by stmpe811_IO_SetEdgeMode()
stmpe811_IO_SetEdgeMode()::tmp1
stmpe811_IO_SetEdgeMode()::tmp2
all items filtered out
stmpe811_IO_SetEdgeMode()
stmpe811_IO_SetEdgeMode()::tmp1
stmpe811_IO_SetEdgeMode()::tmp2
all items filtered out
Type of stmpe811_IO_SetEdgeMode()
stmpe811_IO_SetEdgeMode()
uint8_t
all items filtered out