Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WizFi250_AP_HelloWorld
Fork of mbed-src by
Diff: targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/pinmap.c
- Revision:
- 443:ed48b4122bfb
- Parent:
- 409:a95c696104d3
--- a/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/pinmap.c Thu Jan 08 12:00:08 2015 +0000
+++ b/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/pinmap.c Mon Jan 12 08:15:07 2015 +0000
@@ -31,7 +31,6 @@
*PMC(n) &= ~bitmask;
} else {
// alt-function mode
- *PMC(n) |= bitmask;
--function;
if (function & (1 << 2)) { *PFCAE(n) |= bitmask;}else { *PFCAE(n) &= ~bitmask;}
@@ -42,6 +41,7 @@
if (P1_0 <= pin && pin <= P1_7 && function == 0) {
*PBDC(n) |= bitmask;
}
+ *PMC(n) |= bitmask;
}
} else {
gpio_multi_guard = (PinName)NC;
