mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/platform_init.c
- Revision:
- 114:826c6eb78fdc
- Parent:
- 113:65a335a675de
- Child:
- 134:4fb64af58963
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/platform_init.c Mon Mar 10 11:30:07 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/platform_init.c Mon Mar 10 13:45:07 2014 +0000 @@ -9,18 +9,18 @@ gpio_t gpsEn, gpsRst, led, modemRts; // start with modem disabled - gpio_init_out_ex(&modemEn, MDMEN, PullNone, 0); - gpio_init_out_ex(&modemRst, MDMRST, PullNone, 1); - gpio_init_out_ex(&modemPwrOn, MDMPWRON, PullNone, 1); - gpio_init_out_ex(&modemLvlOe, MDMLVLOE, PullNone, 1); - gpio_init_out_ex(&modemILvlOe, MDMILVLOE, PullNone, 0); - gpio_init_out_ex(&modemUsbDet, MDMUSBDET, PullNone, 0); - gpio_init_out_ex(&modemRts, MDMRTS, PullNone, 0); + gpio_init_out_ex(&modemEn, MDMEN, 0); + gpio_init_out_ex(&modemRst, MDMRST, 1); + gpio_init_out_ex(&modemPwrOn, MDMPWRON, 1); + gpio_init_out_ex(&modemLvlOe, MDMLVLOE, 1); + gpio_init_out_ex(&modemILvlOe, MDMILVLOE, 0); + gpio_init_out_ex(&modemUsbDet, MDMUSBDET, 0); + gpio_init_out_ex(&modemRts, MDMRTS, 0); // start with gps disabled - gpio_init_out_ex(&gpsEn, GPSEN, PullNone, 0); - gpio_init_out_ex(&gpsRst, GPSRST, PullNone, 1); + gpio_init_out_ex(&gpsEn, GPSEN, 0); + gpio_init_out_ex(&gpsRst, GPSRST, 1); // led should be off - gpio_init_out_ex(&led, LED, PullNone, 0); + gpio_init_out_ex(&led, LED, 0); wait_ms(50); // when USB cable is inserted the interface chip issues // multiple resets to the target CPU We wait here for a short period to