Change SIM_SOPT7 setting.

This commit is contained in:
Jonathan Naylor 2016-11-29 16:37:43 +00:00 committed by GitHub
parent 77829f3157
commit e640e469fc
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void CIO::startInt()
CORE_PIN13_CONFIG = PORT_PCR_MUX(3); CORE_PIN13_CONFIG = PORT_PCR_MUX(3);
// Set ADC0 to trigger from the LPTMR // Set ADC0 to trigger from the LPTMR
SIM_SOPT7 |= SIM_SOPT7_ADC0ALTTRGEN | SIM_SOPT7 = SIM_SOPT7_ADC0ALTTRGEN |
SIM_SOPT7_ADC0TRGSEL(14); SIM_SOPT7_ADC0TRGSEL(14);
#else #else
// Setup PDB for ADC0 at 24 kHz // Setup PDB for ADC0 at 24 kHz