Knight Rider PIO sample for teckBASIC, konashi.js

Dependencies:   BLE_API_Native_IRC mbed

Fork of BLE_konashi_PIO_test by Michio Ono

Embed: (wiki syntax)

« Back to documentation index

ble_flash.h File Reference

ble_flash.h File Reference

Go to the source code of this file.

Functions

uint32_t ble_flash_page_write (uint8_t page_num, uint32_t *p_in_array, uint8_t word_count)
 Function for erasing the specified flash page, and then writes the given data to this page.
uint32_t ble_flash_page_read (uint8_t page_num, uint32_t *p_out_array, uint8_t *p_word_count)
 Function for reading data from flash to RAM.
uint32_t ble_flash_page_erase (uint8_t page_num)
 Function for erasing a flash page.
uint32_t ble_flash_word_write (uint32_t *p_address, uint32_t value)
 Function for writing one word to flash.
uint32_t ble_flash_block_write (uint32_t *p_address, uint32_t *p_in_array, uint16_t word_count)
 Function for writing a data block to flash.
uint32_t ble_flash_page_addr (uint8_t page_num, uint32_t **pp_page_addr)
 Function for computing pointer to start of specified flash page.
uint16_t ble_flash_crc16_compute (uint8_t *p_data, uint16_t size, uint16_t *p_crc)
 Function for calculating a 16 bit CRC using the CRC-16-CCITT scheme.
void ble_flash_on_radio_active_evt (bool radio_active)
 Function for handling flashing module Radio Notification event.

Detailed Description

Definition in file ble_flash.h.