Interface: tos.interfaces.GpioCapture
interface GpioCapture
- Author:
-
Phil Levis
-
David Gay
Revision: $Revision: 1.11 $
Defines global error codes for error_t in TinyOS.
Commands
command void disable()
Events
event void captured(uint16_t time)
Commands - Details
captureFallingEdge
command error_t captureFallingEdge()
captureRisingEdge
command error_t captureRisingEdge()
- Returns:
-
Whether the timer capture has been enabled.
disable
command void disable()
Events - Details
captured
event void captured(uint16_t time)
- Parameters:
-
val - The value of the 32kHz timer.