STM Registers Access

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
nelfata
Posts: 74
Joined: Wed Apr 30, 2014 10:50 pm

STM Registers Access

Post by nelfata » Mon Dec 01, 2014 5:53 pm

Hi,
can someone provide some examples to manipulate the STM registers (with import stm)?

I would like to control the WDG and some examples would help. Thanks.

blmorris
Posts: 348
Joined: Fri May 02, 2014 3:43 pm
Location: Massachusetts, USA

Re: STM Registers Access

Post by blmorris » Mon Dec 01, 2014 7:10 pm

I posted this link in another forum topic; it uses the stm module constants to set the read protection level:
https://github.com/xyb/upy-stm-flash/blob/master/rdp.py

-Bryan

Post Reply