hcs12g128 PAD pins output?

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

hcs12g128 PAD pins output?

ソリューションへジャンプ
656件の閲覧回数
sinanatilla
Contributor II

Can I use PAD pins as output?

ラベル(1)
1 解決策
519件の閲覧回数
iggi
NXP Employee
NXP Employee

Sure you can.

Just set the bits to logic 1 in the DDR0AD or DDR1AD registers. This will configure the Port AD as output.

Then write desired value to PT0AD or PT1AD registers to get the high/low level signal on Port AD pins.

Detailed info in the S12G ref.manual.:MC9S12GRMV1

Regards,

iggi

元の投稿で解決策を見る

1 返信
520件の閲覧回数
iggi
NXP Employee
NXP Employee

Sure you can.

Just set the bits to logic 1 in the DDR0AD or DDR1AD registers. This will configure the Port AD as output.

Then write desired value to PT0AD or PT1AD registers to get the high/low level signal on Port AD pins.

Detailed info in the S12G ref.manual.:MC9S12GRMV1

Regards,

iggi