/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2023 Scott Shawcroft for Adafruit Industries LLC * * 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. #pragma once #define GPIO0_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO0; #define GPIO1_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO1; #define GPIO2_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO2; #define GPIO3_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO3; #define GPIO4_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO4; #define GPIO5_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO5; #define GPIO8_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO8; #define GPIO9_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO9; #define GPIO10_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO10; #define GPIO11_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO11; #define GPIO12_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO12; #define GPIO13_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO13; #define GPIO14_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO14; #define GPIO22_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO22; #define GPIO23_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO23; #define GPIO24_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO24; #define GPIO25_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO25; #define GPIO26_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO26; #define GPIO27_EXISTS 1 extern const mcu_pin_obj_t pin_GPIO27;