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

Tararaina Klipffel teiroy at gmail.com
Wed Apr 1 11:19:58 CEST 2015


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
PWM_0_PIN_AF refer to the GPIO_AFRL_AFRLX (X € [0..7] ) or the
GPIO_AFRH_AFRHX (X € [8..15] ) in stm32l1xx.h ?


[1] : http://pastebin.com/bthJXJFP
[2] :
http://www.st.com/web/en/resource/technical/document/reference_manual/CD00240193.pdf
[3] :
http://www.st.com/web/en/resource/technical/document/datasheet/CD00277537.pdf

Kind regards
Tara.
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://riot-os.org/pipermail/devel/attachments/20150401/ad3cae48/attachment.html>


More information about the devel mailing list