SDK  23.9.2
For IoT System Software Development
Classes | Enumerations | Functions | Variables
System.hpp File Reference

nRF52-DK specific API More...

#include <McuNRF52.hpp>
#include <SerialPort.hpp>
#include <SX1276Chip.hpp>
#include <TwoWire.hpp>
#include <Storage.hpp>
#include <StandardPrintable.hpp>

Classes

class  System_nRf52_DK
 nRF52-DK More...
 

Enumerations

enum  {
  nRF52_DK::D0 = 11, nRF52_DK::D1 = 12, nRF52_DK::D2 = 13, nRF52_DK::D3 = 14,
  nRF52_DK::D4 = 15, nRF52_DK::D5 = 16, nRF52_DK::D6 = 17, nRF52_DK::D7 = 18,
  nRF52_DK::D8 = 19, nRF52_DK::D9 = 20, nRF52_DK::D10 = 22, nRF52_DK::D11 = 23,
  nRF52_DK::D12 = 24, nRF52_DK::D13 = 25, nRF52_DK::D14 = 26, nRF52_DK::D15 = 27,
  nRF52_DK::A0 = 3, nRF52_DK::A1 = 4, nRF52_DK::A2 = 28, nRF52_DK::A3 = 29,
  nRF52_DK::A4 = 30, nRF52_DK::A5 = 31, NUM_PINS = 32
}
 

Functions

void GPIOTE_IRQHandler ()
 
void UARTE0_UART0_IRQHandler ()
 
void RTC1_IRQHandler ()
 
void TIMER2_IRQHandler ()
 

Variables

SerialPortSerial
 
SerialPortSerial2
 
TwoWireWire
 
SPISpi
 
System_nRf52_DK System
 

Detailed Description

nRF52-DK specific API

Author
Jongsoo Jeong (CoXlab)
Date
2017. 9. 6.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
D0 

Digital I/O, Serial2 Rx

D1 

Digital I/O, Serial2 Tx

D2 

Button 1, Digital I/O

D3 

Button 2, Digital I/O

D4 

Button 3, Digital I/O

D5 

Button 4, Digital I/O

D6 

LED 1, Digital I/O

D7 

LED 2, Digital I/O

D8 

LED 3, Digital I/O

D9 

LED 4, Digital I/O

D10 

Digital I/O, PWM

D11 

Digital I/O, SPI MOSI

D12 

Digital I/O, SPI MISO

D13 

Digital I/O, SPI SCK

D14 

Digital I/O, Wire SCL

D15 

Digital I/O, Wire SDA

A0 

Digital I/O, ADC

A1 

Digital I/O, ADC

A2 

Digital I/O, ADC

A3 

Digital I/O, ADC

A4 

Digital I/O, ADC

A5 

Digital I/O, ADC

175  { D0 = 11,
176  D1 = 12,
177  D2 = 13,
178  D3 = 14,
179  D4 = 15,
180  D5 = 16,
181  D6 = 17,
182  D7 = 18,
183  D8 = 19,
184  D9 = 20,
185  D10 = 22,
186  D11 = 23,
187  D12 = 24,
188  D13 = 25,
189  D14 = 26,
190  D15 = 27,
191  A0 = 3,
192  A1 = 4,
193  A2 = 28,
194  A3 = 29,
195  A4 = 30,
196  A5 = 31,
197  NUM_PINS = 32,
198  };
nRF52_DK::D8
@ D8
Definition: System.hpp:183
nRF52_DK::D4
@ D4
Definition: System.hpp:179
nRF52_DK::D2
@ D2
Definition: System.hpp:177
nRF52_DK::D3
@ D3
Definition: System.hpp:178
nRF52_DK::D7
@ D7
Definition: System.hpp:182