At page 212 in the manual RM0008 for the STM32F103 device, some part of the internal/software event is explained. Under the EXTI_PR it states, this bit is cleared by writing a "1"into the bit. But just above it says 1 = trigger occurred = bit is set ??? I am confused.
I do follow the part of setting up pins and level detections, but set/reset part of SWIER and PR confuses a bit ???