Ajout FishPeper
This commit is contained in:
13
OpenSky/arch/cc251x/portmacros.h
Normal file
13
OpenSky/arch/cc251x/portmacros.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __PORTMACROS_H__
|
||||
#define __PORTMACROS_H__
|
||||
|
||||
|
||||
#define PORT2DIR_(X) X ## DIR
|
||||
#define PORT2DIR(PORTNAME) PORT2DIR_(PORTNAME)
|
||||
#define PORT2BIT_(X,N) X ## _ ## N
|
||||
#define PORT2BIT(PORTNAME, PIN) PORT2BIT_(PORTNAME,PIN)
|
||||
#define PORT2INP_(X) X ## INP
|
||||
#define PORT2INP(PORTNAME) PORT2INP_(PORTNAME)
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user