Revision 3 trunk/tp_info6/bsp/periph.h

View differences:

periph.h
1 1

  
2
#define ADDR(x) ((x & ~0x20) - 'A')
2
#define ADDR(x) (x -'A')
3 3

  
4 4
int periph_read (char addr,int * val);
5 5
void periph_write (char addr,int valeur);
......
27 27

  
28 28
void periph_init(void);
29 29

  
30
extern Tperiph periph[26];
31
extern int canal[7];
32
extern int canal_ok;
30
extern Tperiph periph['z'-'A'];

Also available in: Unified diff