This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup_timer(void) { | |
rcc_periph_clock_enable(RCC_TIM3); | |
timer_reset(TIM3); | |
timer_set_mode(TIM3, TIM_CR1_CKD_CK_INT, TIM_CR1_CMS_EDGE, TIM_CR1_DIR_UP); | |
timer_set_prescaler(TIM3, 0); | |
timer_set_clock_division(TIM3, 0); | |
timer_set_period(TIM3, PERIOD); | |
timer_set_oc_mode(TIM3, TIM_OC1, TIM_OCM_PWM1); | |
timer_set_oc_polarity_high(TIM3, TIM_OC1); | |
/* timer_set_dma_on_compare_event(TIM3);*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDP/WdCKQUYF7Z1qBrcELpgQxzgrpTsoQlS/edyQmsJk9BsJx8fpsSgFtaVUDt4f+MG0KjNWLR2bgfJvSYETol661QFMXE7IpgTy1jsDBdIqDN0CD8/BLDJgex6p4TMQ6e8PjdiCupWXXdeR2rkRGAFP39tVO1UUsS923O2MjXLo3H0KuiQQzNSC6D0BQGIMk7Z0Xm8NfZZR2ym/m6748zSmvii4AZDba6FXV/xHyfPaJbVHIRPADfHec6fAXAO39Q+erQ47Nbp4NGCmWU4xCmqfgljcA0MGzgjhMBX2qYlgt2ia3vZUOgv8hDf/Zc1Ebz7gf4tDA8AWtzXJaCI7mzj synic@be |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[synic@manetheren neoclock (g:qfn*)]$ sensors | |
acpitz-virtual-0 | |
Adapter: Virtual device | |
temp1: +92.0°C (crit = +100.0°C) | |
coretemp-isa-0000 | |
Adapter: ISA adapter | |
Core 0: +91.0°C (high = +95.0°C, crit = +105.0°C) | |
Core 2: +93.0°C (high = +95.0°C, crit = +105.0°C) |
NewerOlder