Mercurial > louis > kiibohd-controller
comparison Scan/STLcd/capabilities.kll @ 354:40bbbc667399
Adding API to set pixels on LCD screen
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 02 Aug 2015 00:00:11 -0700 |
parents | c6613db89cbe |
children | 0597f6c0d194 |
comparison
equal
deleted
inserted
replaced
353:c6613db89cbe | 354:40bbbc667399 |
---|---|
15 # | 15 # |
16 # Here's a calculation table valid at a 72 MHz system clock | 16 # Here's a calculation table valid at a 72 MHz system clock |
17 # Prescalars range from 0 to 7 (1 to 128) | 17 # Prescalars range from 0 to 7 (1 to 128) |
18 | 18 |
19 # Base FTM clock selection (72 MHz system clock) | 19 # Base FTM clock selection (72 MHz system clock) |
20 # @ 0xFFFF period, 72 MHz / 0xFFFF * 2 = Actual period | 20 # @ 0xFFFF period, 72 MHz / (0xFFFF * 2) = Actual period |
21 # Higher pre-scalar will use the most power (also look the best) | 21 # Higher pre-scalar will use the most power (also look the best) |
22 # Pre-scalar calculations | 22 # Pre-scalar calculations |
23 # 0 - 72 MHz -> 549 Hz | 23 # 0 - 72 MHz -> 549 Hz |
24 # 1 - 36 MHz -> 275 Hz | 24 # 1 - 36 MHz -> 275 Hz |
25 # 2 - 18 MHz -> 137 Hz | 25 # 2 - 18 MHz -> 137 Hz |