Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
dados.h
00001 /* 00002 ** Cabeçalhos das funções implementadas no módulo dados.cpp , 00003 ** que servem para gravar e ler dados na memória. 00004 */ 00005 #include "mbed.h" 00006 #include "QSPI_DISCO_F746NG.h" 00007 00008 //Contantes de Memória 00009 #define QSPI_BASE_ADDR ((uint32_t)0x90000000) 00010 #define BUFFER_SIZE ((uint32_t)32) 00011 00012 /* 00013 ============================================================================================== 00014 ** Funções de Dados 00015 ============================================================================================== 00016 */ 00017 /* 00018 ** Função ler endereço de memória, recebendo um vetor que será populado pelo conteúdo 00019 ** em memória 00020 */ 00021 void lerMemoria(uint32_t ADDR, uint8_t ReadBuffer[], uint32_t tamanho); 00022 bool escreverMemoria(uint32_t ADDR, uint8_t WriteBuffer[],uint32_t tamanho); 00023 int lerValoresInteiros(uint32_t enderecoMemoria); 00024 bool salvarValoresInteiros(int valorLocal, uint32_t enderecoMemoria);
Generated on Tue Jul 12 2022 17:15:52 by
1.7.2