/*
C File created automatically by AQ430 tools
*/
#include <MSP430Fx.h>
//
// Add other include files here, as needed
//
//
// Hardware initializations
//
void AQ430_Init_HW(void)
{
_DINT();// Disable Interrupts
//
// [Ports]
//
P1DIR=0x00;
P1OUT=0x00;
P1SEL=0x00;
P1IES=0x00;
P1IE=0x00;
P2DIR=0x00;
P2OUT=0x00;
P2SEL=0x00;
P2IES=0x00;
P2IE=0x00;
P3DIR=0x07;
P3OUT=0x00;
P3SEL=0x30;
P4DIR=0xFF;
P4OUT=0xF1;
P4SEL=0x00;
P5DIR=0x80;
P5OUT=0x00;
P5SEL=0x0F;
P6DIR=0x00;
P6OUT=0x00;
P6SEL=0xFF;
_EINT();// Enable Interrupts
}
//
//
// Main routine
//
void main(void)
{
//
// Call hardware initialization function
//
AQ430_Init_HW();
_NOP(); // debug breakpoint
_BIS_SR(LPM4_bits + GIE); // deep sleep (no clocks)
}
