Numworks Epsilon
1.4.1
Graphing Calculator Operating System
swd.h
Go to the documentation of this file.
1
#ifndef ION_DEVICE_SWD_H
2
#define ION_DEVICE_SWD_H
3
4
#include "
regs/regs.h
"
5
6
namespace
Ion
{
7
namespace
SWD {
8
namespace
Device {
9
10
/* Pin | Role | Mode
11
* -----+-------------------+---------------------
12
* PA13 | SWDIO | Alternate Function 0
13
* PA14 | SWCLK | Alternate Function 0
14
* PB3 | SWO | Alternate Function 0
15
*/
16
17
void
init
();
18
void
shutdown
();
19
20
constexpr
static
GPIOPin
Pins[] = {
21
GPIOPin
(
GPIOA
, 13),
GPIOPin
(
GPIOA
, 14),
GPIOPin
(
GPIOB
, 3)
22
};
23
24
}
25
}
26
}
27
28
#endif
GPIOB
constexpr GPIO GPIOB(1)
Ion::SWD::Device::shutdown
void shutdown()
Definition:
swd.cpp:15
GPIOPin
Definition:
gpio.h:95
regs.h
GPIOA
constexpr GPIO GPIOA(0)
Ion
Definition:
backlight.h:6
Ion::SWD::Device::init
void init()
Definition:
swd.cpp:8
epsilon
ion
src
device
swd.h
Generated by
1.8.14