rasProject_01 / weSweetHome
R. 240
process control / RasPi software by weinert-automation
|
Configuration settings for Raspberry Pi4. More...
Macros | |
#define | GPIO2pin |
GPIO [0..39] to pin number (1..40) lookup list. More... | |
#define | PIN03 |
GPIO 02 SDA1 (GPIO 0 on Pi1) | |
#define | PIN05 |
GPIO 03 SCL (GPIO 1 on Pi1) | |
#define | PIN07 |
GPIO 04 GPCLK0. | |
#define | PIN08 |
GPIO 14 TXDI. | |
#define | PIN10 |
GPIO 15 RXDI. | |
#define | PIN11 |
GPIO 17. | |
#define | PIN12 |
GPIO 18. | |
#define | PIN13 |
GPIO 27 (GPIO 21 on Pi1) | |
#define | PIN15 |
GPIO 22. | |
#define | PIN16 |
GPIO 23. | |
#define | PIN18 |
GPIO 14. | |
#define | PIN19 |
GPIO 10 SPI.MOSI | S. | |
#define | PIN21 |
GPIO 09 MSPI.ISO | P. | |
#define | PIN22 |
GPIO 25. | |
#define | PIN23 |
GPIO 11 SPI.SCLK | I. | |
#define | PIN24 |
GPIO 08 SPI.CE0 / . | |
#define | PIN26 |
GPIO 07 SPI.CE1 / . | |
#define | PIN27 |
SDA0. | |
#define | PIN28 |
SCL0. | |
#define | PIN29 |
GPIO 05. | |
#define | PIN2gpio |
Pin number [0..43] to GPIO number lookup list. More... | |
#define | PIN31 |
GPIO 06. | |
#define | PIN32 |
GPIO 12. | |
#define | PIN33 |
GPIO 13. | |
#define | PIN35 |
GPIO 19. | |
#define | PIN36 |
GPIO 16. | |
#define | PIN37 |
GPIO 26. | |
#define | PIN38 |
GPIO 20. | |
#define | PIN40 |
GPIO 21. | |
#define | stdUARTpath |
/def stdUARTpath Pi's standard UART. More... | |
Configuration settings for Raspberry Pi4.
This file contains some platform (type) specific definitions. These settings influence the compilation and build process. Most of those settings can not be changed later at runtime.
With respect to I/O pins there is no difference between Pi4*, Pi0* and Pi3*; hence the defines in config_raspberry_04.h, config_raspberry_00.h and config_raspberry_03.h are the same.
Revision history
#define GPIO2pin |
GPIO [0..39] to pin number (1..40) lookup list.
0 means has no pin on the 40 pin connector; see also gpio2pin
#define PIN2gpio |
Pin number [0..43] to GPIO number lookup list.
0..56: GPIO number; 95: 5V pin; 93: 3.3V; 90: Ground 0V;
99 means not existent. N.b.: [1..40] are: valid pin numbers, only.
#define stdUARTpath |
/def stdUARTpath Pi's standard UART.
It is the one on the Pins 8 (GPIO14) for Tx and 10 (GPIO15) for Rx.