Loading...
Searching...
No Matches
Go to the documentation of this file.
25#ifndef INC_HARDWARE_H_
26#define INC_HARDWARE_H_
33#define XCVR_TX (P0_B3)
36#define nPWR_LED (P0_B6)
40#define nMB_LED (P1_B0)
41#define RESET_P (P1_B1)
42#define nWDT_LED (P1_B2)
45#define VIN_CMP_CPOUT() (CMP1CN0 & CMP1CN0_CPOUT__BMASK)
48#define RESET_P (P1_B1)
50#define XCVR_TX (P0_B3)
52#define VIN_CMP_CPOUT() (CMP0CN0 & CMP0CN0_CPOUT__BMASK)
55#if defined(DEBUG) && DEBUG
59#error "Do not use debug mode with the PCB!"
65#define TIMER0_PINO_ON()
66#define TIMER0_PINO_OFF()
67#define TIMER0_PINI_ON() DBG0 = 1;
68#define TIMER0_PINI_OFF() DBG0 = 0;
69#define TIMER1_PIN_ON() DBG1 = 1;
70#define TIMER1_PIN_OFF() DBG1 = 0;
71#define UART0_PIN_ON() DBG2 = 1;
72#define UART0_PIN_OFF() DBG2 = 0;
77#define PETIT_PROCESS_ON() DBG3 = 1;
78#define PETIT_PROCESS_OFF() DBG3 = 0;
80#define RESET_LED_SET(nSTATE)
81#define WDT_LED_SET(nSTATE) nLED = (nSTATE);
84#define TIMER0_PINO_ON()
85#define TIMER0_PINO_OFF()
86#define TIMER0_PINI_ON()
87#define TIMER0_PINI_OFF()
88#define TIMER1_PIN_ON()
89#define TIMER1_PIN_OFF()
91#define UART0_PIN_OFF()
96#define PETIT_PROCESS_ON()
97#define PETIT_PROCESS_OFF()
98#define RESET_LED_SET(nSTATE) nLED = (nSTATE);
99#define WDT_LED_SET(nSTATE) nWDT_LED = (nSTATE);