aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/internal.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-01-15 10:12:32 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-01-28 20:02:16 -0500
commit40b5de168048e88e6ded1259a18fb2830e8c149e (patch)
tree5b729eac15b43476169d818e0d328fc6e24ef071 /src/atsamd/internal.h
parented1334c24bc40f4baf370462496787b9ff2d703d (diff)
downloadkutter-40b5de168048e88e6ded1259a18fb2830e8c149e.tar.gz
kutter-40b5de168048e88e6ded1259a18fb2830e8c149e.tar.xz
kutter-40b5de168048e88e6ded1259a18fb2830e8c149e.zip
atsamd: Pass the power management id to enable_pclock()
Pass the power management id instead of the APBCMASK bit to the enable_pclock() function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/atsamd/internal.h')
-rw-r--r--src/atsamd/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/internal.h b/src/atsamd/internal.h
index 7043007f..5606a4ce 100644
--- a/src/atsamd/internal.h
+++ b/src/atsamd/internal.h
@@ -8,7 +8,7 @@
#define GPIO2PORT(PIN) ((PIN) / 32)
#define GPIO2BIT(PIN) (1<<((PIN) % 32))
-void enable_pclock(uint32_t clock_id, uint32_t pmask);
+void enable_pclock(uint32_t pclk_id, uint32_t pm_id);
void gpio_peripheral(uint32_t gpio, char ptype, int32_t pull_up);
#endif // internal.h