Flash fix + Register definitions added

Flash fix : proper SPI disabling
Register definitions added: AFIO+EXTI