Sming Framework API
()
Toggle main menu visibility
Sming
Arch
Rp2040
Core
Rp2040/Core/pins_arduino.h
Go to the documentation of this file.
1
/****
2
* Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3
* Created 2015 by Skurydin Alexey
4
* http://github.com/SmingHub/Sming
5
* All files of the Sming Core are provided under the LGPL v3 license.
6
*
7
* pins_arduino.h
8
*
9
****/
10
11
// File name selected for compatibility
12
13
#pragma once
14
15
const
uint8_t
A0
{26};
16
17
#define NOT_A_PIN 0
18
#define NOT_A_PORT 0
19
#define NOT_ON_TIMER 0
20
21
#define GPIO_REG_TYPE uint32_t
22
23
// We use maximum compatibility to standard Arduino logic.
24
25
#define digitalPinToPort(pin) (0)
26
#define digitalPinToBitMask(pin) (1UL << (pin))
27
#define digitalPinToTimer(pin) (NOT_ON_TIMER)
28
#define portOutputRegister(port) ((volatile uint32_t*)&GPO)
29
#define portInputRegister(port) ((volatile uint32_t*)&GPI)
30
#define portModeRegister(port) ((volatile uint32_t*)&GPE)
A0
const uint8_t A0
Definition:
Rp2040/Core/pins_arduino.h:15
Generated by
1.9.1