10 years, 5 months ago.

characteristics of the mbed legs?

characteristics of the mbed legs? that is to say : input, output ... I am creating an impression / mbed library for Proteus / isis

P1: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P2: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P3: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P4: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P5: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P6: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P7: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P8: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P9: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P10: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P11: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P12: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P13: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? P14: Passive ? Inpuut ? Output ? Pull-up ? Pull-down ? Power-pin ? . . . . . . . . . . . . P40 ?

Thank you for your answers

which mbed platform??

posted by Gary Z 22 May 2015

Mbed nxp lcp 1768

posted by AGON Juppé 22 May 2015

1 Answer

10 years, 5 months ago.

/media/uploads/AndyA/400xnxpinout.png

Unused IO pins (p5-p30) default to input with the internal pullup enabled.

AFAIK, the chip defaults(power up/reset) to the "input with the internal pullup enabled." as Andy mentioned. You get the priviledge of setting up the pins for the functions that you want. so for example the PWM pins need to be configured for pwm / output / ??pullup-pulldown?? / timer source etc. Some chips and their pins can have upto 8 functions capable on a pin (one at a time- though). That's where the "matrix" comes into play. You are the captain of your ship/mcu !!!!

posted by Gary Z 22 May 2015