Hello everyone!
I am using the KDS to program a FRDM-KL25Z board. Table 10.2 of the KL25Z Reference Manual indicates that all GPIO pins can be configured so that Pull Enable = 1 (i.e., an internal pullup resistor is enabled on the corresponding pin). How do I set Pull Enable on the KL25Z in the KDS?
Thank you,
Nick
已解决! 转到解答。
It's in the Init_GPIO component, see Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse
The necessary Pin Control Register n (PORTx_PCRn) to enable pullup resistors (11.5.1 in KL25Z Reference Manual) does not seem to be accessible through the Processor Expert configuration registers view.
It's in the Init_GPIO component, see Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse