mirror of https://github.com/g4klx/MMDVM.git
Merge remote-tracking branch 'g4klx/master'
This commit is contained in:
commit
6e5a7800a9
13
IOTeensy.cpp
13
IOTeensy.cpp
|
@ -23,13 +23,13 @@
|
||||||
#if defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
#if defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
||||||
|
|
||||||
#define PIN_LED 13
|
#define PIN_LED 13
|
||||||
#define PIN_COS 52
|
#define PIN_COS 4
|
||||||
#define PIN_PTT 23
|
#define PIN_PTT 5
|
||||||
#define PIN_COSLED 22
|
#define PIN_COSLED 6
|
||||||
#define PIN_DSTAR 9
|
#define PIN_DSTAR 9
|
||||||
#define PIN_DMR 8
|
#define PIN_DMR 10
|
||||||
#define PIN_YSF 7
|
#define PIN_YSF 11
|
||||||
#define PIN_P25 6
|
#define PIN_P25 12
|
||||||
#define PIN_ADC 5 // A0
|
#define PIN_ADC 5 // A0
|
||||||
#define PIN_RSSI 8 // A2
|
#define PIN_RSSI 8 // A2
|
||||||
|
|
||||||
|
@ -166,6 +166,7 @@ void CIO::startInt()
|
||||||
PDB0_SC = PDB_SC_TRGSEL(15) | PDB_SC_PDBEN | // SW trigger, enable interrupts, continuous mode
|
PDB0_SC = PDB_SC_TRGSEL(15) | PDB_SC_PDBEN | // SW trigger, enable interrupts, continuous mode
|
||||||
PDB_SC_PDBIE | PDB_SC_CONT | PDB_SC_LDOK; // No prescaling
|
PDB_SC_PDBIE | PDB_SC_CONT | PDB_SC_LDOK; // No prescaling
|
||||||
PDB0_SC |= PDB_SC_SWTRIG; // Software trigger (reset and restart counter)
|
PDB0_SC |= PDB_SC_SWTRIG; // Software trigger (reset and restart counter)
|
||||||
|
NVIC_ENABLE_IRQ(IRQ_PDB);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Initialise the DAC
|
// Initialise the DAC
|
||||||
|
|
Loading…
Reference in New Issue