Functions

pwrstep.c File Reference

#include <lpc21xx.h>
#include <types.h>
#include <deb_led.h>
#include <system_def.h>
#include "pwrstep.h"
Include dependency graph for pwrstep.c:

Functions

void pwr_33 (char mode, struct power *pwr)
 pwr_33 Switch on/off 3,3V power line
void pwr_50 (char mode, struct power *pwr)
 pwr_50 Switch on/off 5,0V power line
void pwr_80 (char mode, struct power *pwr)
 pwr_80 Switch on/off 8,0V power line
void adc_isr (void)
void init_adc (unsigned rx_isr_vect)
 inicializes ADC lines and starts converion (use ISR)
void init_pwr (struct power *pwr)
 init_pwr inicializes power lines - default: all lines is off

Function Documentation

void adc_isr ( void   ) 
void init_adc ( unsigned  rx_isr_vect  ) 

inicializes ADC lines and starts converion (use ISR)

Parameters:
rx_isr_vect ISR vector

inicializes ADC lines and starts converion (use ISR)

Automaticly starts the conversion of first channel on given conversion frequency.

Here is the call graph for this function:

void init_pwr ( struct power pwr  ) 

init_pwr inicializes power lines - default: all lines is off

Here is the call graph for this function:

Here is the caller graph for this function:

void pwr_33 ( char  mode,
struct power pwr 
)

pwr_33 Switch on/off 3,3V power line

Parameters:
mode - PWR_ON/PWR_OFF

Here is the caller graph for this function:

void pwr_50 ( char  mode,
struct power pwr 
)

pwr_50 Switch on/off 5,0V power line

Parameters:
mode - PWR_ON/PWR_OFF

Here is the caller graph for this function:

void pwr_80 ( char  mode,
struct power pwr 
)

pwr_80 Switch on/off 8,0V power line

Parameters:
mode - PWR_ON/PWR_OFF

Here is the caller graph for this function: