Adjust ADC pre-trigger setting for external TCXO

This commit is contained in:
Jonathan Naylor 2016-12-22 18:24:25 +00:00 committed by GitHub
parent d0d131b0e8
commit af8e9f2659
1 changed files with 0 additions and 1 deletions

View File

@ -123,7 +123,6 @@ void CIO::startInt()
#if defined(EXTERNAL_OSC)
// Set ADC0 to trigger from the LPTMR at 48 kHz
SIM_SOPT7 = SIM_SOPT7_ADC0ALTTRGEN | // Enable ADC0 alternate trigger
SIM_SOPT7_ADC0PRETRGSEL | // Enable ADC0 pre-trigger
SIM_SOPT7_ADC0TRGSEL(14); // Trigger ADC0 by LPTMR0
CORE_PIN13_CONFIG = PORT_PCR_MUX(3);