Project

General

Profile

Revision ac0f8544

IDac0f85449c6206c5d1197128097c8eebf4e8885e
Parent a177a382
Child 687e9f18

Added by gustavobica almost 7 years ago

- On/Off Megatron and On/Off Power

View differences:

tpf/io.h
54 54
 */
55 55
uint8_t IsDoorOpen(uint8_t* state );
56 56

  
57

  
58
/*  
59
 *  \brief Turns the megatron on  
60
 *  \param no need to pass parameters, if successful returns 0, if not returns 1
61
 */
62
uint8_t turnOffMegatron();
63
 
64
/*  
65
 *  \brief Turns the megatron off  
66
 *  \param no need to pass parameters, if successful returns 0, if not returns 1
67
 */ 
68
uint8_t turnOnMegatron();
69
 
70
/*  
71
 *  \brief Turns the power on  
72
 *  \param the pointer to the variable used for the check  , if successful returns 0, if not returns 1
73
 */  
74
uint8_t PowerOn(uint8_t* state);
75

  
76

  
77

  
78
/*  
79
 *  \brief Turns the power off  
80
 *  \param the pointer to the variable used for the check  , if successful returns 0, if not returns 1
81
 */ 
82
uint8_t PowerOff(uint8_t* state);
83

  
57 84
    
58 85

  

Also available in: Unified diff