YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
wifiTick.h
1// ---------------------------------------------
2// This file is part of
3// _ _ __ _ _ __ __
4// ( \/ ) /__\ ( )_( ) /__\ ( )
5// \ / /(__)\ ) _ ( /(__)\ )(__
6// (__)(__)(__)(_) (_)(__)(__)(____)
7//
8// Yet Another HW Abstraction Library
9// Copyright (C) Andreas Terstegge
10// BSD Licensed (see file LICENSE)
11//
12// ---------------------------------------------
13//
14// This file defines the hardware components
15// on the wifiTick board, when used with a
16// RP2350 Launchpad.
17//
18#ifndef _RP2350_LAUNCHPAD_WIFITICK_H_
19#define _RP2350_LAUNCHPAD_WIFITICK_H_
20
21// SPI interface
22#define TICK_SPI_MOSI 3
23#define TICK_SPI_MISO 4
24#define TICK_SPI_CS 5
25#define TICK_SPI_CLK 6
26
27// Reset line
28#define TICK_nRESET 7
29
30// GPIOs also used for I2C
31// (no HW support on ESP8266)
32#define TICK_GPIO0 8
33#define TICK_GPIO2 9
34#define TICK_SDA 8
35#define TICK_SCL 9
36
37// LED controlled by RP2350
38#define TICK_LED 17
39
40// GPIO also used for ESP8266 wakeup
41#define TICK_GPIO16 18
42
43// UART interface (naming on ESP side!)
44#define TICK_U0RXD 32
45#define TICK_U0TXD 33
46
47// Power Up control.
48#define TICK_CHIP_PU 37
49
50#endif // _RP2350_LAUNCHPAD_WIFITICK_H_