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.
解決済! 解決策の投稿を見る。
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
Hi again, thank you very much, you helped me a lot!
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