Datasheet
Source Code of MSP430 Present in the Launchpad
www.ti.com
// Port 1 interrupt service routine
#pragma vector=PORT1_VECTOR
__interrupt void Port_1(void)
{
if (DONE == 1) // enabled/disabled and viceverasa DONE signal
{
DONE = 0;
}
else
{
DONE = 1;
}
P1IFG &= ~BIT3; // P1.3 IFG cleared
P1IES |= BIT3; // P1.3 Hi/Lo edge
}
6
TPL5000EVM User's Guide SNAU147–July 2013
Submit Documentation Feedback
Copyright © 2013, Texas Instruments Incorporated