Add missing ADC pins mapping for FRMD-K66F

pull/10506/head
JarekParal 2019-04-29 10:54:39 +02:00
parent f28b82b831
commit 484c8a59b9
2 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,8 @@ typedef enum {
ADC1_SE7b = (1 << ADC_INSTANCE_SHIFT) | (1 << ADC_B_CHANNEL_SHIFT) | 7, ADC1_SE7b = (1 << ADC_INSTANCE_SHIFT) | (1 << ADC_B_CHANNEL_SHIFT) | 7,
ADC1_SE8 = (1 << ADC_INSTANCE_SHIFT) | 8, ADC1_SE8 = (1 << ADC_INSTANCE_SHIFT) | 8,
ADC1_SE9 = (1 << ADC_INSTANCE_SHIFT) | 9, ADC1_SE9 = (1 << ADC_INSTANCE_SHIFT) | 9,
ADC1_SE10 = (1 << ADC_INSTANCE_SHIFT) | 10,
ADC1_SE11 = (1 << ADC_INSTANCE_SHIFT) | 11,
ADC1_SE12 = (1 << ADC_INSTANCE_SHIFT) | 12, ADC1_SE12 = (1 << ADC_INSTANCE_SHIFT) | 12,
ADC1_SE13 = (1 << ADC_INSTANCE_SHIFT) | 13, ADC1_SE13 = (1 << ADC_INSTANCE_SHIFT) | 13,
ADC1_SE14 = (1 << ADC_INSTANCE_SHIFT) | 14, ADC1_SE14 = (1 << ADC_INSTANCE_SHIFT) | 14,

View File

@ -44,6 +44,8 @@ const PinMap PinMap_ADC[] = {
{PTC9, ADC1_SE5b, 0}, {PTC9, ADC1_SE5b, 0},
{PTC10, ADC1_SE6b, 0}, {PTC10, ADC1_SE6b, 0},
{PTC11, ADC1_SE7b, 0}, {PTC11, ADC1_SE7b, 0},
{PTB4 , ADC1_SE10, 0},
{PTB5 , ADC1_SE11, 0},
{PTB6 , ADC1_SE12, 0}, {PTB6 , ADC1_SE12, 0},
{PTB7 , ADC1_SE13, 0}, {PTB7 , ADC1_SE13, 0},
{PTB10, ADC1_SE14, 0}, {PTB10, ADC1_SE14, 0},