SAM EEPROM Emulator Service Quick Start.
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
Functions | |
static void | configure_bod (void) |
void | configure_eeprom (void) |
[setup] More... | |
int | main (void) |
[setup] More... | |
|
static |
References bod_config::action, BOD_ACTION_INTERRUPT, BOD_BOD33, bod_enable(), bod_get_config_defaults(), bod_set_config(), bod_config::level, system_interrupt_enable(), and SYSTEM_INTERRUPT_MODULE_SYSCTRL.
Referenced by main().
void configure_eeprom | ( | void | ) |
[setup]
[init_eeprom_service]
[init_eeprom_service]
[check_init_ok]
[check_init_ok] [check_re-init]
[check_re-init]
References eeprom_emulator_erase_memory(), eeprom_emulator_init(), STATUS_ERR_NO_MEMORY, and STATUS_OK.
Referenced by main().
int main | ( | void | ) |
[setup]
[setup_init]
[setup_init]
[setup_bod]
[setup_bod]
[main] [read_page]
[read_page]
[toggle_first_byte]
[toggle_first_byte] [set_led]
[set_led]
[write_page]
[write_page]
[write_page_not_commit]
[write_page_not_commit]
[main]
References configure_bod(), configure_eeprom(), eeprom_emulator_commit_page_buffer(), eeprom_emulator_read_page(), eeprom_emulator_write_page(), EEPROM_PAGE_SIZE, port_pin_set_output_level(), and system_init().