|
IoT-MBBR (masterthesis)
Masterthesis upgrading a Moving Bed BioReactor with extra sensors and cloud connectivity.
|
The pin definitions for the custom board. More...
#include "em_device.h"#include "em_gpio.h"Go to the source code of this file.
Macros | |
| #define | BUS_I2C I2C0 |
| #define | BUS_I2C_LOC I2C_ROUTE_LOCATION_LOC0 |
| #define | BUS_SDA_PORT gpioPortA |
| #define | BUS_SDA_PIN 0 |
| #define | BUS_SCL_PORT gpioPortA |
| #define | BUS_SCL_PIN 1 |
| #define | BTN_PORT gpioPortA |
| #define | BTN_PIN 2 |
| #define | VL53L1X_GPIO1_PORT gpioPortF |
| #define | VL53L1X_GPIO1_PIN 4 |
| #define | VL53L1X_XSHUT_PORT gpioPortF |
| #define | VL53L1X_XSHUT_PIN 5 |
| #define | BG96_UART USART1 |
| #define | BG96_UART_LOC 0 |
| #define | BG96_TXD_PORT gpioPortC |
| #define | BG96_TXD_PIN 1 |
| #define | BG96_RXD_PORT gpioPortC |
| #define | BG96_RXD_PIN 0 |
| #define | BG96_PWRKEY_PORT gpioPortC |
| #define | BG96_PWRKEY_PIN 2 |
| #define | BG96_RESET_PORT gpioPortC |
| #define | BG96_RESET_PIN 3 |
| #define | BG96_STAT_PORT gpioPortC |
| #define | BG96_STAT_PIN 4 |
| #define | BG96_DTR_PORT gpioPortA |
| #define | BG96_DTR_PIN 8 |
| #define | BG96_RI_PORT gpioPortA |
| #define | BG96_RI_PIN 9 |
| #define | DBG_UART USART0 |
| #define | DBG_UART_LOC 2 |
| #define | DBG_TXD_PORT gpioPortC |
| #define | DBG_TXD_PIN 11 |
| #define | DBG_RXD_PORT gpioPortC |
| #define | DBG_RXD_PIN 10 |
| #define | DBG_GNDD_PORT gpioPortC |
| #define | DBG_GNDD_PIN 15 |
| #define | TEMP0_DATA_PORT gpioPortC |
| #define | TEMP0_DATA_PIN 8 |
| #define | TEMP0_VDD_PORT gpioPortC |
| #define | TEMP0_VDD_PIN 9 |
| #define | TEMP1_DATA_PORT gpioPortA |
| #define | TEMP1_DATA_PIN 10 |
| #define | TEMP1_VDD_PORT gpioPortB |
| #define | TEMP1_VDD_PIN 11 |
| #define | PULSE0_PORT gpioPortC /* PCNT0_S0IN #0 */ |
| #define | PULSE0_PIN 13 |
| #define | PULSE1_PORT gpioPortC /* PCNT0_S1IN #0 */ |
| #define | PULSE1_PIN 14 |
| #define | ADC0_PORT gpioPortD /* ADC0_CH4 */ |
| #define | ADC0_PIN 4 |
| #define | ADC1_PORT gpioPortD /* ADC0_CH5 */ |
| #define | ADC1_PIN 5 |
| #define | ADC2_PORT gpioPortD /* ADC0_CH6 */ |
| #define | ADC2_PIN 6 |
| #define | ADC3_PORT gpioPortD /* ADC0_CH7 */ |
| #define | ADC3_PIN 7 |
| #define | J28_0_PORT gpioPortE |
| #define | J28_0_PIN 10 |
| #define | J28_1_PORT gpioPortE |
| #define | J28_1_PIN 11 |
| #define | J28_2_PORT gpioPortE |
| #define | J28_2_PIN 12 |
| #define | J28_3_PORT gpioPortE |
| #define | J28_3_PIN 13 |
| #define | J29_0_PORT gpioPortF |
| #define | J29_0_PIN 2 |
| #define | J29_1_PORT gpioPortF |
| #define | J29_1_PIN 3 |
The pin definitions for the custom board.
Copyright (C) 2020 - Brecht Van Eeckhoudt
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A copy of the GNU General Public License can be found in the LICENSE file along with this source code.
Some methods use code obtained from examples from Silicon Labs' GitHub. These sections are licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file pin_mapping.h.
| #define ADC0_PIN 4 |
Definition at line 116 of file pin_mapping.h.
| #define ADC0_PORT gpioPortD /* ADC0_CH4 */ |
Definition at line 115 of file pin_mapping.h.
| #define ADC1_PIN 5 |
Definition at line 118 of file pin_mapping.h.
| #define ADC1_PORT gpioPortD /* ADC0_CH5 */ |
Definition at line 117 of file pin_mapping.h.
| #define ADC2_PIN 6 |
Definition at line 120 of file pin_mapping.h.
| #define ADC2_PORT gpioPortD /* ADC0_CH6 */ |
Definition at line 119 of file pin_mapping.h.
| #define ADC3_PIN 7 |
Definition at line 122 of file pin_mapping.h.
| #define ADC3_PORT gpioPortD /* ADC0_CH7 */ |
Definition at line 121 of file pin_mapping.h.
| #define BG96_DTR_PIN 8 |
Definition at line 84 of file pin_mapping.h.
| #define BG96_DTR_PORT gpioPortA |
Definition at line 83 of file pin_mapping.h.
| #define BG96_PWRKEY_PIN 2 |
Definition at line 78 of file pin_mapping.h.
| #define BG96_PWRKEY_PORT gpioPortC |
Definition at line 77 of file pin_mapping.h.
| #define BG96_RESET_PIN 3 |
Definition at line 80 of file pin_mapping.h.
| #define BG96_RESET_PORT gpioPortC |
Definition at line 79 of file pin_mapping.h.
| #define BG96_RI_PIN 9 |
Definition at line 86 of file pin_mapping.h.
| #define BG96_RI_PORT gpioPortA |
Definition at line 85 of file pin_mapping.h.
| #define BG96_RXD_PIN 0 |
Definition at line 76 of file pin_mapping.h.
| #define BG96_RXD_PORT gpioPortC |
Definition at line 75 of file pin_mapping.h.
| #define BG96_STAT_PIN 4 |
Definition at line 82 of file pin_mapping.h.
| #define BG96_STAT_PORT gpioPortC |
Definition at line 81 of file pin_mapping.h.
| #define BG96_TXD_PIN 1 |
Definition at line 74 of file pin_mapping.h.
| #define BG96_TXD_PORT gpioPortC |
Definition at line 73 of file pin_mapping.h.
| #define BG96_UART USART1 |
Definition at line 71 of file pin_mapping.h.
| #define BG96_UART_LOC 0 |
Definition at line 72 of file pin_mapping.h.
| #define BTN_PIN 2 |
Definition at line 62 of file pin_mapping.h.
| #define BTN_PORT gpioPortA |
Definition at line 61 of file pin_mapping.h.
| #define BUS_I2C I2C0 |
Definition at line 53 of file pin_mapping.h.
| #define BUS_I2C_LOC I2C_ROUTE_LOCATION_LOC0 |
Definition at line 54 of file pin_mapping.h.
| #define BUS_SCL_PIN 1 |
Definition at line 58 of file pin_mapping.h.
| #define BUS_SCL_PORT gpioPortA |
Definition at line 57 of file pin_mapping.h.
| #define BUS_SDA_PIN 0 |
Definition at line 56 of file pin_mapping.h.
| #define BUS_SDA_PORT gpioPortA |
Definition at line 55 of file pin_mapping.h.
| #define DBG_GNDD_PIN 15 |
Definition at line 96 of file pin_mapping.h.
| #define DBG_GNDD_PORT gpioPortC |
Definition at line 95 of file pin_mapping.h.
| #define DBG_RXD_PIN 10 |
Definition at line 94 of file pin_mapping.h.
| #define DBG_RXD_PORT gpioPortC |
Definition at line 93 of file pin_mapping.h.
| #define DBG_TXD_PIN 11 |
Definition at line 92 of file pin_mapping.h.
| #define DBG_TXD_PORT gpioPortC |
Definition at line 91 of file pin_mapping.h.
| #define DBG_UART USART0 |
Definition at line 89 of file pin_mapping.h.
| #define DBG_UART_LOC 2 |
Definition at line 90 of file pin_mapping.h.
| #define J28_0_PIN 10 |
Definition at line 126 of file pin_mapping.h.
| #define J28_0_PORT gpioPortE |
Definition at line 125 of file pin_mapping.h.
| #define J28_1_PIN 11 |
Definition at line 128 of file pin_mapping.h.
| #define J28_1_PORT gpioPortE |
Definition at line 127 of file pin_mapping.h.
| #define J28_2_PIN 12 |
Definition at line 130 of file pin_mapping.h.
| #define J28_2_PORT gpioPortE |
Definition at line 129 of file pin_mapping.h.
| #define J28_3_PIN 13 |
Definition at line 132 of file pin_mapping.h.
| #define J28_3_PORT gpioPortE |
Definition at line 131 of file pin_mapping.h.
| #define J29_0_PIN 2 |
Definition at line 134 of file pin_mapping.h.
| #define J29_0_PORT gpioPortF |
Definition at line 133 of file pin_mapping.h.
| #define J29_1_PIN 3 |
Definition at line 136 of file pin_mapping.h.
| #define J29_1_PORT gpioPortF |
Definition at line 135 of file pin_mapping.h.
| #define PULSE0_PIN 13 |
Definition at line 110 of file pin_mapping.h.
| #define PULSE0_PORT gpioPortC /* PCNT0_S0IN #0 */ |
Definition at line 109 of file pin_mapping.h.
| #define PULSE1_PIN 14 |
Definition at line 112 of file pin_mapping.h.
| #define PULSE1_PORT gpioPortC /* PCNT0_S1IN #0 */ |
Definition at line 111 of file pin_mapping.h.
| #define TEMP0_DATA_PIN 8 |
Definition at line 100 of file pin_mapping.h.
| #define TEMP0_DATA_PORT gpioPortC |
Definition at line 99 of file pin_mapping.h.
| #define TEMP0_VDD_PIN 9 |
Definition at line 102 of file pin_mapping.h.
| #define TEMP0_VDD_PORT gpioPortC |
Definition at line 101 of file pin_mapping.h.
| #define TEMP1_DATA_PIN 10 |
Definition at line 104 of file pin_mapping.h.
| #define TEMP1_DATA_PORT gpioPortA |
Definition at line 103 of file pin_mapping.h.
| #define TEMP1_VDD_PIN 11 |
Definition at line 106 of file pin_mapping.h.
| #define TEMP1_VDD_PORT gpioPortB |
Definition at line 105 of file pin_mapping.h.
| #define VL53L1X_GPIO1_PIN 4 |
Definition at line 66 of file pin_mapping.h.
| #define VL53L1X_GPIO1_PORT gpioPortF |
Definition at line 65 of file pin_mapping.h.
| #define VL53L1X_XSHUT_PIN 5 |
Definition at line 68 of file pin_mapping.h.
| #define VL53L1X_XSHUT_PORT gpioPortF |
Definition at line 67 of file pin_mapping.h.