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

80 lines
2.9 KiB
C
Raw Normal View History

2021-09-25 14:30:00 -04:00
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2021 microDev
*
* 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_ESP32C3_PINS_H
#define MICROPY_INCLUDED_ESPRESSIF_PERIPHERALS_ESP32C3_PINS_H
2022-06-26 17:45:35 -04:00
#define GPIO0_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO0;
2022-06-26 17:45:35 -04:00
#define GPIO1_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO1;
2022-06-26 17:45:35 -04:00
#define GPIO2_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO2;
2022-06-26 17:45:35 -04:00
#define GPIO3_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO3;
2022-06-26 17:45:35 -04:00
#define GPIO4_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO4;
2022-06-26 17:45:35 -04:00
#define GPIO5_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO5;
2022-06-26 17:45:35 -04:00
#define GPIO6_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO6;
2022-06-26 17:45:35 -04:00
#define GPIO7_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO7;
2022-06-26 17:45:35 -04:00
#define GPIO8_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO8;
2022-06-26 17:45:35 -04:00
#define GPIO9_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO9;
2022-06-26 17:45:35 -04:00
#define GPIO10_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO10;
2022-06-26 17:45:35 -04:00
#define GPIO11_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO11;
2022-06-26 17:45:35 -04:00
#define GPIO12_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO12;
2022-06-26 17:45:35 -04:00
#define GPIO13_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO13;
2022-06-26 17:45:35 -04:00
#define GPIO14_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO14;
2022-06-26 17:45:35 -04:00
#define GPIO15_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO15;
2022-06-26 17:45:35 -04:00
#define GPIO16_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO16;
2022-06-26 17:45:35 -04:00
#define GPIO17_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO17;
2022-06-26 17:45:35 -04:00
#define GPIO18_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO18;
2022-06-26 17:45:35 -04:00
#define GPIO19_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO19;
2022-06-26 17:45:35 -04:00
#define GPIO20_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO20;
2022-06-26 17:45:35 -04:00
#define GPIO21_EXISTS 1
2021-09-25 14:30:00 -04:00
extern const mcu_pin_obj_t pin_GPIO21;
#endif // MICROPY_INCLUDED_ESPRESSIF_PERIPHERALS_ESP32C3_PINS_H