PWM ansteuerbar und TOP wird returned

This commit is contained in:
Tristan Krause 2019-05-28 12:32:31 +02:00
parent 1f53117577
commit 2c47159df3
78 changed files with 459 additions and 148 deletions

View file

@ -130,3 +130,10 @@ uint16_t USART::readInt() volatile
v |= readByte() << 8;
return v;
}
uint32_t USART::readU32() volatile
{
uint32_t v = readInt();
v |= ((uint32_t) readInt()) << 16;
return v;
}