Loading...
Searching...
No Matches
atmega_pcint.h
1/*
2 * SPDX-FileCopyrightText: 2019 TU Braunschweig Institut für Betriebssysteme und Rechnerverbund
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#define ATMEGA_PCINT_MAP_PCINT0 GPIO_PIN(PORT_B, 0), GPIO_PIN(PORT_B, 1), GPIO_PIN(PORT_B, 2), GPIO_PIN(PORT_B, 3), GPIO_PIN(PORT_B, 4), GPIO_PIN(PORT_B, 5), GPIO_PIN(PORT_B, 6), GPIO_PIN(PORT_B, 7)
13#define ATMEGA_PCINT_MAP_PCINT1 GPIO_PIN(PORT_E, 0), GPIO_UNDEF, GPIO_UNDEF, GPIO_UNDEF, GPIO_UNDEF, GPIO_UNDEF, GPIO_UNDEF, GPIO_UNDEF
14
15#ifdef __cplusplus
16}
17#endif