Re: [riot-devel] [ ST32L152RE ] [periph_conf.h]

2015-04-01 Thread Hauke Petersen
Hi Tara, the alternate function definition (PWM_x_PIN_x_AF) is meant for defining which alternate function the referneced pin is using. You can find the correct values for your configuration in the devices data sheet [1] on page 43ff, Table 9. If you for example want to use PWM_0 with timer

[riot-devel] [ ST32L152RE ] [periph_conf.h]

2015-04-01 Thread Tararaina Klipffel
Hi everybody, I have few questions about the PWM configuration pin on the periph_config.h [1] on STM32L152RE. The pwm.c file is already done, we were based on pwm.c stm32f3 discovery file. We also used this two manuals [2] [3]. What is the link between PWM_0_PIN_CH0 and PWM_0_PIN_AF ? Does PW