aboutsummaryrefslogtreecommitdiff
path: root/include/07.pit/deo9
diff options
context:
space:
mode:
Diffstat (limited to 'include/07.pit/deo9')
-rw-r--r--include/07.pit/deo93
1 files changed, 3 insertions, 0 deletions
diff --git a/include/07.pit/deo9 b/include/07.pit/deo9
new file mode 100644
index 0000000..1deca04
--- /dev/null
+++ b/include/07.pit/deo9
@@ -0,0 +1,3 @@
+ // Divisor has to be sent byte-wise, so split here into upper/lower bytes.
+ uint8_t l = (uint8_t)(divisor & 0xFF);
+ uint8_t h = (uint8_t)( (divisor>>8) & 0xFF );