Минимальный функционал

Committer:
nikmaos
Date:
Thu Jun 25 08:28:04 2020 +0000
Revision:
0:0f5e5690b713
minimal func

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nikmaos 0:0f5e5690b713 1 /*
nikmaos 0:0f5e5690b713 2 * flashwrapper.h
nikmaos 0:0f5e5690b713 3 *
nikmaos 0:0f5e5690b713 4 * Created on: 25 дек. 2018 г.
nikmaos 0:0f5e5690b713 5 * Author: spookee
nikmaos 0:0f5e5690b713 6 */
nikmaos 0:0f5e5690b713 7
nikmaos 0:0f5e5690b713 8 #pragma once
nikmaos 0:0f5e5690b713 9
nikmaos 0:0f5e5690b713 10 #include "stdint.h"
nikmaos 0:0f5e5690b713 11 //начальный адрес сектора 12 банка 2
nikmaos 0:0f5e5690b713 12 #define START_ADRESS 0x08100000
nikmaos 0:0f5e5690b713 13
nikmaos 0:0f5e5690b713 14 uint32_t flashRead(uint32_t address);
nikmaos 0:0f5e5690b713 15 void flashWrite(uint32_t address, uint32_t *p_data, uint16_t size);
nikmaos 0:0f5e5690b713 16
nikmaos 0:0f5e5690b713 17
nikmaos 0:0f5e5690b713 18