#include <lpc21xx.h>#include <types.h>#include <deb_led.h>#include <system_def.h>#include "pwrstep.h"
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 | |
| void adc_isr | ( | void | ) |
| void init_adc | ( | unsigned | rx_isr_vect | ) |
inicializes ADC lines and starts converion (use ISR)
| rx_isr_vect | ISR vector |
inicializes ADC lines and starts converion (use ISR)
Automaticly starts the conversion of first channel on given conversion frequency.

| void init_pwr | ( | struct power * | pwr | ) |
init_pwr inicializes power lines - default: all lines is off


| void pwr_33 | ( | char | mode, | |
| struct power * | pwr | |||
| ) |
pwr_33 Switch on/off 3,3V power line
| mode | - PWR_ON/PWR_OFF |

| void pwr_50 | ( | char | mode, | |
| struct power * | pwr | |||
| ) |
pwr_50 Switch on/off 5,0V power line
| mode | - PWR_ON/PWR_OFF |

| void pwr_80 | ( | char | mode, | |
| struct power * | pwr | |||
| ) |
pwr_80 Switch on/off 8,0V power line
| mode | - PWR_ON/PWR_OFF |

1.7.1