Introduction - If you have any usage issues, please Google them yourself
This example shows how to write/read data to/from Backup data registers and
demonstrates the Tamper detection feature.
The associated software performs the following:
Configures the Tamper pin to be active on low level and enable Tamper interrupt.
Then all Backup data registers are programmed after that we check if the written data
are correct. If yes a led connected to PC.06 is turned on, otherwise a led connected
to PC.07 is turned on.
Once a low level is applied on PC.13 pin (ANTI_TAMP) the Backup data registers are
reset and the Tamper interrupt is generated. In the corresponding ISR we check if
the Backup data registers are cleared, if yes a led connected to PC.08 is turned
on otherwise a led connected to PC.09 is turned on.
In this example the system is clocked by the HSE(8MHz).
Packet : 5956481bkp.rar filelist
BKP\listing\BKP.map
BKP\listing\cortexm3_macro.lst
BKP\listing\stm32f10x_vector.lst
BKP\obj\BKP.axf
BKP\obj\BKP.htm
BKP\obj\BKP.lnp
BKP\obj\BKP.plg
BKP\obj\BKP.sct
BKP\obj\BKP.tra
BKP\obj\cortexm3_macro.o
BKP\obj\main.crf
BKP\obj\main.d
BKP\obj\main.o
BKP\obj\stm32f10x_bkp.crf
BKP\obj\stm32f10x_bkp.d
BKP\obj\stm32f10x_bkp.o
BKP\obj\stm32f10x_flash.crf
BKP\obj\stm32f10x_flash.d
BKP\obj\stm32f10x_flash.o
BKP\obj\stm32f10x_gpio.crf
BKP\obj\stm32f10x_gpio.d
BKP\obj\stm32f10x_gpio.o
BKP\obj\stm32f10x_it.crf
BKP\obj\stm32f10x_it.d
BKP\obj\stm32f10x_it.o
BKP\obj\stm32f10x_lib.crf
BKP\obj\stm32f10x_lib.d
BKP\obj\stm32f10x_lib.o
BKP\obj\stm32f10x_nvic.crf
BKP\obj\stm32f10x_nvic.d
BKP\obj\stm32f10x_nvic.o
BKP\obj\stm32f10x_pwr.crf
BKP\obj\stm32f10x_pwr.d
BKP\obj\stm32f10x_pwr.o
BKP\obj\stm32f10x_rcc.crf
BKP\obj\stm32f10x_rcc.d
BKP\obj\stm32f10x_rcc.o
BKP\obj\stm32f10x_vector.o
BKP\uvsion\BKP.Opt
BKP\uvsion\BKP.Uv2
BKP\uvsion\BKP.plg
BKP\uvsion\BKP_Target 1.dep
BKP\uvsion\cortexm3_macro.s
BKP\uvsion\main.c
BKP\uvsion\main.h
BKP\uvsion\readme.txt
BKP\uvsion\stm32f10x_conf.h
BKP\uvsion\stm32f10x_it.c
BKP\uvsion\stm32f10x_it.h
BKP\uvsion\stm32f10x_vector.s
BKP\listing
BKP\obj
BKP\uvsion
BKP