Mobil_surveillance_system 1
Defines | Typedefs | Functions
Ports.h File Reference

Ports headre file. More...

#include "msp430f2617.h"
#include "Bitmanip.h"

Go to the source code of this file.

Defines

#define DEFINE_TBOOLEAN
#define LED_NUMBER_3   3

Typedefs

typedef unsigned char tBoolean

Functions

void Ports_setPort2Pin (unsigned char ucPin)

Detailed Description

Ports headre file.

Definition in file Ports.h.


Function Documentation

void Ports_setPort2Pin ( unsigned char  ucPin)
Parameters:
ucPin,:Number of the ports's pin.

Definition at line 11 of file Ports.c.

{
    // set pin to output 
    SET_BIT(P2DIR, ucPin);
    // set output to high
    SET_BIT(P2OUT, ucPin);
}
 All Data Structures Files Functions Variables Typedefs Enumerations Defines