circuitpython/ports/espressif/peripherals/esp32s2/pins.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

122 lines
4.2 KiB
C
Raw Normal View History

/*
* This file is part of the Micro Python project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2020 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
// DO NOT include this file directly.
// Use shared-bindings/microcontroller/Pin.h instead.
// This ensures that all necessary includes are already included.
#ifndef MICROPY_INCLUDED_ESPRESSIF_PERIPHERALS_ESP32S2_PINS_H
#define MICROPY_INCLUDED_ESPRESSIF_PERIPHERALS_ESP32S2_PINS_H
2022-06-26 17:45:35 -04:00
#define GPIO0_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO0;
2022-06-26 17:45:35 -04:00
#define GPIO1_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO1;
2022-06-26 17:45:35 -04:00
#define GPIO2_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO2;
2022-06-26 17:45:35 -04:00
#define GPIO3_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO3;
2022-06-26 17:45:35 -04:00
#define GPIO4_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO4;
2022-06-26 17:45:35 -04:00
#define GPIO5_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO5;
2022-06-26 17:45:35 -04:00
#define GPIO6_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO6;
2022-06-26 17:45:35 -04:00
#define GPIO7_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO7;
2022-06-26 17:45:35 -04:00
#define GPIO8_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO8;
2022-06-26 17:45:35 -04:00
#define GPIO9_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO9;
2022-06-26 17:45:35 -04:00
#define GPIO10_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO10;
2022-06-26 17:45:35 -04:00
#define GPIO11_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO11;
2022-06-26 17:45:35 -04:00
#define GPIO12_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO12;
2022-06-26 17:45:35 -04:00
#define GPIO13_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO13;
2022-06-26 17:45:35 -04:00
#define GPIO14_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO14;
2022-06-26 17:45:35 -04:00
#define GPIO15_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO15;
2022-06-26 17:45:35 -04:00
#define GPIO16_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO16;
2022-06-26 17:45:35 -04:00
#define GPIO17_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO17;
2022-06-26 17:45:35 -04:00
#define GPIO18_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO18;
2022-06-26 17:45:35 -04:00
#define GPIO19_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO19;
2022-06-26 17:45:35 -04:00
#define GPIO20_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO20;
2022-06-26 17:45:35 -04:00
#define GPIO21_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO21;
2022-06-26 17:45:35 -04:00
#define GPIO26_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO26;
2022-06-26 17:45:35 -04:00
#define GPIO27_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO27;
2022-06-26 17:45:35 -04:00
#define GPIO28_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO28;
2022-06-26 17:45:35 -04:00
#define GPIO29_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO29;
2022-06-26 17:45:35 -04:00
#define GPIO30_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO30;
2022-06-26 17:45:35 -04:00
#define GPIO31_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO31;
2022-06-26 17:45:35 -04:00
#define GPIO32_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO32;
2022-06-26 17:45:35 -04:00
#define GPIO33_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO33;
2022-06-26 17:45:35 -04:00
#define GPIO34_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO34;
2022-06-26 17:45:35 -04:00
#define GPIO35_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO35;
2022-06-26 17:45:35 -04:00
#define GPIO36_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO36;
2022-06-26 17:45:35 -04:00
#define GPIO37_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO37;
2022-06-26 17:45:35 -04:00
#define GPIO38_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO38;
2022-06-26 17:45:35 -04:00
#define GPIO39_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO39;
2022-06-26 17:45:35 -04:00
#define GPIO40_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO40;
2022-06-26 17:45:35 -04:00
#define GPIO41_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO41;
2022-06-26 17:45:35 -04:00
#define GPIO42_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO42;
2022-06-26 17:45:35 -04:00
#define GPIO43_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO43;
2022-06-26 17:45:35 -04:00
#define GPIO44_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO44;
2022-06-26 17:45:35 -04:00
#define GPIO45_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO45;
2022-06-26 17:45:35 -04:00
#define GPIO46_EXISTS 1
extern const mcu_pin_obj_t pin_GPIO46;
#endif // MICROPY_INCLUDED_ESPRESSIF_PERIPHERALS_ESP32S2_PINS_H