1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-14 09:03:50 +01:00

boards: drop unused BTN0_PORT define

This commit is contained in:
Benjamin Valentin 2022-09-20 18:08:08 +02:00
parent c107d7377e
commit f39e502eaf
13 changed files with 0 additions and 13 deletions

View File

@ -66,7 +66,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT _PORT->Group[PA]
#define BTN0_PIN GPIO_PIN(PA, 27)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -68,7 +68,6 @@ extern "C" {
* @name Button pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[0]
#define BTN0_PIN GPIO_PIN(0, 18)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -58,7 +58,6 @@ extern "C"
* @name Macro for button S1/S2.
* @{
*/
#define BTN0_PORT PORTD
#define BTN0_PIN GPIO_PIN(PORT_D, 1)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -56,7 +56,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[PA]
#define BTN0_PIN GPIO_PIN(PA, 25)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -54,7 +54,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[PA]
#define BTN0_PIN GPIO_PIN(PA, 15)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -57,7 +57,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[PA]
#define BTN0_PIN GPIO_PIN(PA, 15)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -63,7 +63,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[PB]
#define BTN0_PIN GPIO_PIN(PB, 31)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -44,7 +44,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[PA]
#define BTN0_PIN GPIO_PIN(PA, 2)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -75,7 +75,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[0]
#define BTN0_PIN GPIO_PIN(0, 28)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -62,7 +62,6 @@ extern "C" {
* @name BTN0 (SW0 Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[0]
#define BTN0_PIN GPIO_PIN(PA, 28)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -72,7 +72,6 @@ extern "C" {
* @name BTN0 (SW0 Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[0] /**< GPIO port */
#define BTN0_PIN GPIO_PIN(PA, 28) /**< GPIO pin */
#define BTN0_MODE GPIO_IN_PU /**< Pull Up GPIO */
/** @} */

View File

@ -56,7 +56,6 @@ extern "C" {
* @name SW0 (Button) pin definitions
* @{
*/
#define BTN0_PORT PORT->Group[PA]
#define BTN0_PIN GPIO_PIN(PA, 20)
#define BTN0_MODE GPIO_IN_PU
/** @} */

View File

@ -48,7 +48,6 @@ extern "C" {
* @{
*/
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
#define BTN0_PORT GPIOA
#define BTN0_MODE GPIO_IN
/** @} */