How to configurate ports as I/O in a HCS08 MCU in C using Codewarrior?

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

How to configurate ports as I/O in a HCS08 MCU in C using Codewarrior?

ソリューションへジャンプ
1,144件の閲覧回数
juancarlossuare
Contributor III

How to configurate ports as I/O in a HCS08 MCU in C using Codewarrior?

ラベル(1)
0 件の賞賛
返信
1 解決策
956件の閲覧回数
weapon
Senior Contributor I

Hi Baron,

Almost all of HCS08 MCU haven't dedicated Signal Multiplexing configuration, that means there is not extra setting for ports used as IOs,  In all HCS08 MCUs,  the default function of ports is GPIOs, then if  one peripheral who share one port with GPIO is engaged, the periphral will overwrite the GPIO fucntion.  Generally speaking, in the datasheet (reference manual) of MCUs, there will be one table to show Pin-Count and Pin Priotiry(as below),  Periphrals with higher priority will overwrite the lower peripherals' function.

QQImage_8090087.jpg

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
957件の閲覧回数
weapon
Senior Contributor I

Hi Baron,

Almost all of HCS08 MCU haven't dedicated Signal Multiplexing configuration, that means there is not extra setting for ports used as IOs,  In all HCS08 MCUs,  the default function of ports is GPIOs, then if  one peripheral who share one port with GPIO is engaged, the periphral will overwrite the GPIO fucntion.  Generally speaking, in the datasheet (reference manual) of MCUs, there will be one table to show Pin-Count and Pin Priotiry(as below),  Periphrals with higher priority will overwrite the lower peripherals' function.

QQImage_8090087.jpg

0 件の賞賛
返信