Interface: moteiv.tos.platform.msp430.MSP430Interrupt
interface MSP430Interrupt
Interface for directly controlling interrupts on the MSP430
microcontroller.
- Author:
-
Joe Polastre, Moteiv Corporation <info@moteiv.com>
Commands
command void clear()
command void disable()
command void edge(bool low_to_high)
command void enable()
command bool getValue()
command void makeInput()
Events
event void fired()
Commands - Details
clear
command void clear()
disable
command void disable()
edge
command void edge(bool low_to_high)
- Parameters:
-
TRUE
- if the interrupt should be triggered on a low to high
edge transition, false for interrupts on a high to low transition
enable
command void enable()
getValue
command bool getValue()
- Returns:
-
TRUE if the pin is set high, FALSE if it is set low
makeInput
command void makeInput()
Events - Details
fired
event void fired()