Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
launchpad.c File Reference
#include <msp430g2553.h>
#include <string.h>
#include <launchpad.h>
Include dependency graph for launchpad.c:

Go to the source code of this file.

Functions

void desabWDT ()
 Desable Watchdog. More...
 
void botao ()
 Enable the button. More...
 
void hled (unsigned char numled)
 Enable LED. More...
 
char readbotao (void)
 
void waitbton (unsigned char sinal)
 
void ligled (char numled)
 
void desled (char numled)
 
void alterled (unsigned volatile numled)
 
void dly_coxa (int numcic)
 
void dco1mhz ()
 

Function Documentation

void alterled ( unsigned volatile  numled)

Definition at line 76 of file launchpad.c.

void botao ( )

Enable the button.

Enable the button without the interruption support

Definition at line 18 of file launchpad.c.

void dco1mhz ( )

Definition at line 95 of file launchpad.c.

void desabWDT ( )

Desable Watchdog.

Call to desable the Whatchdog

Definition at line 9 of file launchpad.c.

void desled ( char  numled)

Definition at line 70 of file launchpad.c.

void dly_coxa ( int  numcic)

Definition at line 82 of file launchpad.c.

void hled ( unsigned char  numled)

Enable LED.

Enable LED n, making this port a output port

Parameters
numledLED to be enabled. Can assume the values:
  • LED1
  • LED2

Definition at line 33 of file launchpad.c.

void ligled ( char  numled)

Definition at line 64 of file launchpad.c.

char readbotao ( void  )

Definition at line 40 of file launchpad.c.

void waitbton ( unsigned char  sinal)

Definition at line 53 of file launchpad.c.