dd5d7c86d2
This can be enforced by pre-commit, but correct it separately to make it easier to review.
158 lines
6.0 KiB
C
158 lines
6.0 KiB
C
/*
|
|
* This file is part of the MicroPython project, http://micropython.org/
|
|
*
|
|
* The MIT License (MIT)
|
|
*
|
|
* Copyright (c) 2019 Lucian Copeland 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.
|
|
*/
|
|
|
|
#ifndef MICROPY_INCLUDED_STM32_PERIPHERALS_STM32F412ZX_PINS_H
|
|
#define MICROPY_INCLUDED_STM32_PERIPHERALS_STM32F412ZX_PINS_H
|
|
|
|
//pg 50
|
|
extern const mcu_pin_obj_t pin_PE02;
|
|
extern const mcu_pin_obj_t pin_PE03;
|
|
extern const mcu_pin_obj_t pin_PE04;
|
|
extern const mcu_pin_obj_t pin_PE05;
|
|
extern const mcu_pin_obj_t pin_PE06;
|
|
extern const mcu_pin_obj_t pin_PC13;
|
|
extern const mcu_pin_obj_t pin_PC14;
|
|
//pg 51
|
|
extern const mcu_pin_obj_t pin_PC15;
|
|
extern const mcu_pin_obj_t pin_PF00; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF01; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF02; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF03; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF04; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF05; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF06; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF07; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF08; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF09; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF10; // 144 only
|
|
//pg 52
|
|
extern const mcu_pin_obj_t pin_PC00;
|
|
extern const mcu_pin_obj_t pin_PC01;
|
|
extern const mcu_pin_obj_t pin_PC02;
|
|
extern const mcu_pin_obj_t pin_PC03;
|
|
extern const mcu_pin_obj_t pin_PA00;
|
|
extern const mcu_pin_obj_t pin_PA01;
|
|
extern const mcu_pin_obj_t pin_PA02;
|
|
//pg 53
|
|
extern const mcu_pin_obj_t pin_PA03;
|
|
extern const mcu_pin_obj_t pin_PA04;
|
|
extern const mcu_pin_obj_t pin_PA05;
|
|
extern const mcu_pin_obj_t pin_PA06;
|
|
extern const mcu_pin_obj_t pin_PA07;
|
|
extern const mcu_pin_obj_t pin_PC04;
|
|
//pg 54
|
|
extern const mcu_pin_obj_t pin_PC05;
|
|
extern const mcu_pin_obj_t pin_PB00;
|
|
extern const mcu_pin_obj_t pin_PB01;
|
|
extern const mcu_pin_obj_t pin_PB02;
|
|
extern const mcu_pin_obj_t pin_PF11; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF12; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF13; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF14; // 144 only
|
|
extern const mcu_pin_obj_t pin_PF15; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG00; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG01; // 144 only
|
|
//pg 55
|
|
extern const mcu_pin_obj_t pin_PE07;
|
|
extern const mcu_pin_obj_t pin_PE08;
|
|
extern const mcu_pin_obj_t pin_PE09;
|
|
extern const mcu_pin_obj_t pin_PE10;
|
|
extern const mcu_pin_obj_t pin_PE11;
|
|
extern const mcu_pin_obj_t pin_PE12;
|
|
extern const mcu_pin_obj_t pin_PE13;
|
|
extern const mcu_pin_obj_t pin_PE14;
|
|
//pg 56
|
|
extern const mcu_pin_obj_t pin_PE15;
|
|
extern const mcu_pin_obj_t pin_PB10;
|
|
extern const mcu_pin_obj_t pin_PB11; // 144 only
|
|
extern const mcu_pin_obj_t pin_PB12;
|
|
extern const mcu_pin_obj_t pin_PB13;
|
|
//pg 57
|
|
extern const mcu_pin_obj_t pin_PB14;
|
|
extern const mcu_pin_obj_t pin_PB15;
|
|
extern const mcu_pin_obj_t pin_PD08;
|
|
extern const mcu_pin_obj_t pin_PD09;
|
|
extern const mcu_pin_obj_t pin_PD10;
|
|
extern const mcu_pin_obj_t pin_PD11;
|
|
extern const mcu_pin_obj_t pin_PD12;
|
|
//pg 58
|
|
extern const mcu_pin_obj_t pin_PD13;
|
|
extern const mcu_pin_obj_t pin_PD14;
|
|
extern const mcu_pin_obj_t pin_PD15;
|
|
extern const mcu_pin_obj_t pin_PG02; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG03; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG04; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG05; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG06; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG07; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG08; // 144 only
|
|
//pg 59
|
|
extern const mcu_pin_obj_t pin_PC06;
|
|
extern const mcu_pin_obj_t pin_PC07;
|
|
extern const mcu_pin_obj_t pin_PC08;
|
|
extern const mcu_pin_obj_t pin_PC09;
|
|
extern const mcu_pin_obj_t pin_PA08;
|
|
extern const mcu_pin_obj_t pin_PA09;
|
|
extern const mcu_pin_obj_t pin_PA10;
|
|
//pg 60
|
|
extern const mcu_pin_obj_t pin_PA11;
|
|
extern const mcu_pin_obj_t pin_PA12;
|
|
extern const mcu_pin_obj_t pin_PA13;
|
|
extern const mcu_pin_obj_t pin_PA14;
|
|
extern const mcu_pin_obj_t pin_PA15;
|
|
extern const mcu_pin_obj_t pin_PC10;
|
|
extern const mcu_pin_obj_t pin_PC11;
|
|
//pg 61
|
|
extern const mcu_pin_obj_t pin_PC12;
|
|
extern const mcu_pin_obj_t pin_PD00;
|
|
extern const mcu_pin_obj_t pin_PD01;
|
|
extern const mcu_pin_obj_t pin_PD02;
|
|
extern const mcu_pin_obj_t pin_PD03;
|
|
extern const mcu_pin_obj_t pin_PD04;
|
|
extern const mcu_pin_obj_t pin_PD05;
|
|
extern const mcu_pin_obj_t pin_PD06;
|
|
extern const mcu_pin_obj_t pin_PD07;
|
|
//pg 62
|
|
extern const mcu_pin_obj_t pin_PG09; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG10; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG11; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG12; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG13; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG14; // 144 only
|
|
extern const mcu_pin_obj_t pin_PG15; // 144 only
|
|
extern const mcu_pin_obj_t pin_PB03;
|
|
extern const mcu_pin_obj_t pin_PB04;
|
|
//pg 63
|
|
extern const mcu_pin_obj_t pin_PB05;
|
|
extern const mcu_pin_obj_t pin_PB06;
|
|
extern const mcu_pin_obj_t pin_PB07;
|
|
extern const mcu_pin_obj_t pin_PB08;
|
|
extern const mcu_pin_obj_t pin_PB09;
|
|
extern const mcu_pin_obj_t pin_PE00;
|
|
extern const mcu_pin_obj_t pin_PE01;
|
|
|
|
#endif // MICROPY_INCLUDED_STM32_PERIPHERALS_STM32F412ZX_PINS_H
|