#include <msp430xG461x.h>
#include "at_flash.h"
Include dependency graph for at_flash.c:

Go to the source code of this file.
Defines | |
| #define | BUFFER_1_WRITE 0x84 |
| #define | BUFFER_2_WRITE 0x87 |
| #define | BUFFER_1_READ 0x54 |
| #define | BUFFER_2_READ 0x56 |
| #define | B1_TO_MM_PAGE_PROG_WITH_ERASE 0x83 |
| #define | B2_TO_MM_PAGE_PROG_WITH_ERASE 0x86 |
| #define | B1_TO_MM_PAGE_PROG_WITHOUT_ERASE 0x88 |
| #define | B2_TO_MM_PAGE_PROG_WITHOUT_ERASE 0x89 |
| #define | MM_PAGE_PROG_THROUGH_B1 0x82 |
| #define | MM_PAGE_PROG_THROUGH_B2 0x85 |
| #define | AUTO_PAGE_REWRITE_THROUGH_B1 0x58 |
| #define | AUTO_PAGE_REWRITE_THROUGH_B2 0x59 |
| #define | MM_PAGE_TO_B1_COMP 0x60 |
| #define | MM_PAGE_TO_B2_COMP 0x61 |
| #define | MM_PAGE_TO_B1_XFER 0x53 |
| #define | MM_PAGE_TO_B2_XFER 0x55 |
| #define | READ_STATUS_REGISTER 0xD7 |
| #define | CONTINUOUS_ARRAY_READ 0xE8 |
| #define | MAIN_MEMORY_PAGE_READ 0x52 |
| #define | PAGE_ERASE 0x81 |
Functions | |
| void | InitUCA_SPI (void) |
| void | FlashEnable (void) |
| void | FlashDisable (void) |
| unsigned char | WriteByte (unsigned char data) |
| unsigned char | FlashBusy (void) |
| void | ByteToBuffer (unsigned int byte, unsigned int address) |
| void | FlashReadArray (unsigned long address, unsigned char *buffer, unsigned char length) |
| void | WriteBufferToMainMemory (unsigned int address) |
| void | ReadBufferFromMainMemory (unsigned int address) |
| char | TestATFlash (void) |
Variables | |
| unsigned char | WriteBuffer [] = { 1, 2, 3, 4, 5, 6, 5, 8, 9, 0 } |
| unsigned char | ReadBuffer [] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } |
Definition in file at_flash.c.
1.5.1