Revision 649f2bd1dbc5702edbc4cbacf44d25ba3ccd8cc9 authored by Felix Ruess on 09 July 2013, 09:34:43 UTC, committed by Felix Ruess on 09 July 2013, 19:17:16 UTC
- krooz: don't use TIM2 for PWM - change to 6 ticks per usec to fit all frequencies - on the F1 we assume to run at 72MHz for HCLK and both timer clocks TIM1 -> APB2 = HCLK = 72MHz TIM2 -> 2 * APB1 = 2 * 36MHz = 72MHz - on the F4 we assume 2 * AHB clock: TIM1 -> 2 * APB2 = 168MHz TIM2 -> 2 * APB1 = 84MHz
1 parent 60a6d89
humid_htm_b71.xml
<!DOCTYPE module SYSTEM "module.dtd">
<module name="humid_htm_b71" dir="meteo">
<doc>
<description>TronSens HTM-B71 humidity sensor (I2C)</description>
<define name="HTM_I2C_DEV" value="i2cX" description="select i2c peripheral to use (default i2c0)"/>
</doc>
<header>
<file name="humid_htm_b71.h"/>
</header>
<init fun="humid_htm_init()"/>
<periodic fun="humid_htm_start()" freq="4" delay="10"/>
<periodic fun="humid_htm_read()" freq="4" delay="14"/>
<event fun="humid_htm_event()"/>
<makefile target="ap">
<file name="humid_htm_b71.c"/>
</makefile>
</module>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...