10 #include <sysio/defs.h> 96 eRpiModelComputeModule,
101 eRpiModelComputeModule3,
102 eRpiModelUnknown = -1
233 #define GPIO_GEN10 20 236 #define GPIO_GEN11 21 238 #define GPIO_GEN12 23 239 #define GPIO_GEN13 24 240 #define GPIO_GEN14 25 241 #define GPIO_GEN15 26 242 #define STATUS_LED 27 243 #define GPIO_GEN17 28 244 #define GPIO_GEN18 29 248 #define GPIO27 2 // Models A & B PCB V2.0, A+, B+, 2B, 3B, Zero 255 #define GPIO2 8 // Models A & B PCB V2.0, A+, B+, 2B, 3B, Zero 256 #define GPIO3 9 // Models A & B PCB V2.0, A+, B+, 2B, 3B, Zero 290 #if defined(__DOXYGEN__) 294 static inline unsigned long ulRpiIoBase(
void);
307 #define BCM2708_IO_BASE (0x20000000) 308 #define BCM2709_IO_BASE (0x3F000000) 309 #define BCM270X_PAGE_SIZE (4*1024) 310 #define BCM270X_BLOCK_SIZE (4*1024) 316 return (
pxRpiInfo()->
eMcu == eRpiMcuBcm2708) ? BCM2708_IO_BASE : BCM2709_IO_BASE;
const char * sRpiMcuToStr(eRpiMcu eMcu)
Chaîne de caractères correspondant à un mcu.
const char * sManufacturer
const char * sRpiModelToStr(eRpiModel eModel)
Chaîne de caractères correspondant à un modèle.
struct xRpi xRpi
Information sur le Raspberry Pi.
int iRpiRev(void)
Retourne la revision du raspberry.
const xRpi * pxRpiInfo(void)
Lecture des informations sur le Raspberry Pi.
Information sur le Raspberry Pi.
eRpiModel
Modèle de Raspberry Pi.