Add Pin property in CDE, CodeWarrior 10.6

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

Add Pin property in CDE, CodeWarrior 10.6

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

Hi, I´m making a new IO component with CDE on CodeWarrior 10.6 because I want to control pull-ups, but I don't know how add a Pin property tu select the a pin of mcu.

ラベル(2)
1 解決策
638件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hello,

you don't have access to that level directly. But you can inherit to a pin like I did here:

http://mcuoneclipse.com/2013/05/04/added-write-protection-pin-to-fatfsmemsdhc/

The pull-ups then will be in the init component, see http://mcuoneclipse.com/2012/11/12/tutorial-bits-and-pins-with-kinetis/

Another consideration is that you would build your own BitIO component, and using PDD to implement the functionality. See Low-Level Coding with PDD (Physical Device Driver) | MCU on Eclipse

I'm using that already as well in some of my stuff, e.g. for DMA: First Adafruit NeoPixel Blinks with the FRDM Board | MCU on Eclipse

I hope this helps,

Erich

元の投稿で解決策を見る

2 返答(返信)
638件の閲覧回数
OmarIsaiPinales
Contributor II

Hi again, thank you very much, you helped me a lot!

0 件の賞賛
返信
639件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hello,

you don't have access to that level directly. But you can inherit to a pin like I did here:

http://mcuoneclipse.com/2013/05/04/added-write-protection-pin-to-fatfsmemsdhc/

The pull-ups then will be in the init component, see http://mcuoneclipse.com/2012/11/12/tutorial-bits-and-pins-with-kinetis/

Another consideration is that you would build your own BitIO component, and using PDD to implement the functionality. See Low-Level Coding with PDD (Physical Device Driver) | MCU on Eclipse

I'm using that already as well in some of my stuff, e.g. for DMA: First Adafruit NeoPixel Blinks with the FRDM Board | MCU on Eclipse

I hope this helps,

Erich