This commit is contained in:
furrtek
2016-01-31 09:34:24 +01:00
parent 29ec87a9ad
commit 44638e504b
166 changed files with 8700 additions and 3967 deletions

View File

@@ -313,7 +313,7 @@ public:
return LPC_GPDMA->CH[number].CONFIG & (1U << 0);
}
void disable_force() const {
void disable() const {
LPC_GPDMA->CH[number].CONFIG &= ~(1U << 0);
}
@@ -349,7 +349,7 @@ public:
void disable() const {
for(const auto& channel : channels) {
channel.disable_force();
channel.disable();
}
LPC_GPDMA->CONFIG &= ~(1U << 0);
}