Skip to content

Inside LrTMAX

じゅん edited this page Feb 21, 2022 · 13 revisions

Usage of Timers

TIMx Purpose
TIM1 8mS interval timer for key scanning.
TIM3 800KHz PWM pulse generator for CH1.
TIM6 Neopixel flashing timer.
TIM7 OLED display control timer.
TIM14 spin lock timer used for make OLED command interval
and make Neopixel 'RESET' state.

Power consumption

element power(mA)
Neopixel 16mA x 8 128
OLED 40
MPU 16
sum 184
on descriptor 200

USB connection state

graph TD;
 A["POR"] --> B["NO LINK"];
 B["NO LINK"] -- establish USB conn. --> C[ESTAB];
 C[ESTAB] --> D[LINKED];
 D[LINKED] -- disconnected --> E[DISCONN];
 E[DISCONN] --> B[NOLINK];
Loading
Clone this wiki locally