MC9S12XEP100 ATD pins can use as GPIO?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MC9S12XEP100 ATD pins can use as GPIO?

714件の閲覧回数
milkma
Contributor I

some ATD pins used as analog to digtal pins , other unused ATD pins can used as GPIO? I need more  IO pins.

0 件の賞賛
返信
1 返信

586件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Yes, you can set some analog pins for ADC and the rest of the port as GPIO.

Please refer to the attached example code, where the I/O are set as follows:

AN0 (pot) analog input,

AN6 digital input

AN7 digital output.

Regards,

Daniel

0 件の賞賛
返信