Re: [libopencm3-devel] Newbie clock questions

2017-01-27 Thread Sid Price
@lists.sourceforge.net Subject: Re: [libopencm3-devel] Newbie clock questions Hi Sid, There aren't too many differences other than the old one takes a bit mask and pointer to a register and the new one just takes an enum. The old one required you to know which RCC enable register you had t

Re: [libopencm3-devel] Newbie clock questions

2017-01-27 Thread Chuck McManis
Hi Sid, There aren't too many differences other than the old one takes a bit mask and pointer to a register and the new one just takes an enum. The old one required you to know which RCC enable register you had to set the bits in but it also let you set multiple bits at the same time in the same r

[libopencm3-devel] Newbie clock questions

2017-01-27 Thread Sid Price
I am building a USB device based upon STM32F411RE, the source code uses an older version of libopencm3. It uses the old-style peripheral clock enables, e.g. rcc_peripheral_enable_clock and I would like to update it to use the newer "rcc_periph_clock_enable" method. Are there some notes anywhere abo