Defines | Functions

powswitch.c File Reference

#include <lpc21xx.h>
#include "powswitch.h"
Include dependency graph for powswitch.c:

Defines

#define ESW   (1<<16)
 Pin define.

Functions

void init_pow_switch (void)
 Initializes power switch.
void pow_switch_on (void)
 Power switch ON.
void pow_switch_off (void)
 Power switch OFF.

Define Documentation

#define ESW   (1<<16)

Pin define.


Function Documentation

void init_pow_switch ( void   ) 

Initializes power switch.

Here is the caller graph for this function:

void pow_switch_off ( void   ) 

Power switch OFF.

Here is the caller graph for this function:

void pow_switch_on ( void   ) 

Power switch ON.

Here is the caller graph for this function: