Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_external_flash.c File Reference
Include dependency graph for cascoda_external_flash.c:

Macros

#define MAX_ADDRESS   0xFFFFF
 
#define PAGE_SIZE   0x100
 
#define HEX_64KB   0x10000
 
#define HEX_32KB   0x8000
 
#define HEX_4KB   0x1000
 
#define MIN(a, b)   (a < b ? a : b)
 

Enumerations

enum  { mask_64kb = 0x1F0000 , mask_32kb = 0x1F8000 , mask_4kb = 0x1FF000 }
 

Functions

ca_error external_flash_evbme_send_upstream (void *aContext)
 
ca_error external_flash_erase_helper (void *aContext)
 
ca_error external_flash_write_helper (void *aContext)
 
ca_error external_flash_check_helper (void *aContext)
 

Macro Definition Documentation

◆ HEX_32KB

#define HEX_32KB   0x8000

◆ HEX_4KB

#define HEX_4KB   0x1000

◆ HEX_64KB

#define HEX_64KB   0x10000

◆ MAX_ADDRESS

#define MAX_ADDRESS   0xFFFFF

◆ MIN

#define MIN (   a,
 
)    (a < b ? a : b)

◆ PAGE_SIZE

#define PAGE_SIZE   0x100

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
mask_64kb 
mask_32kb 
mask_4kb 

Function Documentation

◆ external_flash_check_helper()

ca_error external_flash_check_helper ( void *  aContext)

◆ external_flash_erase_helper()

ca_error external_flash_erase_helper ( void *  aContext)

◆ external_flash_evbme_send_upstream()

ca_error external_flash_evbme_send_upstream ( void *  aContext)

◆ external_flash_write_helper()

ca_error external_flash_write_helper ( void *  aContext)