Attachment 'mod_eeprom.tex'
Download 1 \section{Module EEPROM Interne}
2 Montre les fonctions pour pouvoir travailler avec l'EEPROM Interne des PIC.
3
4 \verb!include <eeprom.h> !
5 \subsection[{eeprom\_read}]{~\label{ID_READINTEEPROM}eeprom\_read}
6 Lit l'adresse \textbf{addr} dans l'EEprom interne du PIC
7
8 ~ ~ ~ ~ BYTE eeprom\_read(BYTE addr);
9
10 \subsection[{eeprom\_write}]{\label{ID_WRITEINTEEPROM} eeprom\_write}
11 Écrit la donnée \textbf{data} à l'adresse \textbf{addr} dans l'EEprom interne du PIC
12
13 void eeprom\_write(BYTE data,BYTE addr);
14
15 \subsection{Exemple de Eeprom}
16 pour compiler vous avez besoin des commandes suivantes :
17
18 \verb! Exemple de compilation : ./compila.sh ej_eeprom 16f877a !
19
20 ej\_eeprom.c
21 \verbatiminput{source/ej_eeprom.c}
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.