|
SDK3.5
This document shows Ameba SDK 3.5 APIs
|
system functions More...
Ameba Common | |
| void | sys_jtag_off (void) |
| Turn off the JTAG function. More... | |
| void | sys_clear_ota_signature (void) |
| switch OTA image if the othe OTA image is valid More... | |
| void | sys_recover_ota_signature (void) |
| switch OTA image if the othe OTA image is valid More... | |
| void | sys_log_uart_on (void) |
| open log uart More... | |
| void | sys_log_uart_off (void) |
| close log uart More... | |
| void | sys_adc_calibration (u8 write, u16 *offset, u16 *gain) |
| store or load adc calibration parameter More... | |
| void | sys_reset (void) |
| system software reset More... | |
Ameba1 Only | |
| u8 | sys_is_sdram_power_on (void) |
| check whether is sdram power on More... | |
| void | sys_sdram_off (void) |
| sdram power off More... | |
AmebaZ Only | |
| void | sys_cpu_reset (void) |
| vector reset More... | |
system functions
| void sys_adc_calibration | ( | u8 | write, |
| u16 * | offset, | ||
| u16 * | gain | ||
| ) |
store or load adc calibration parameter
| write | this parameter can be one of the following values:
|
| offset | pointer to adc parameter offset |
| gain | pointer to adc parameter gain |
| none |
| void sys_clear_ota_signature | ( | void | ) |
switch OTA image if the othe OTA image is valid
| none |
| void sys_cpu_reset | ( | void | ) |
vector reset
| none |
| u8 sys_is_sdram_power_on | ( | void | ) |
check whether is sdram power on
| 1 | power on 0: power off |
| void sys_jtag_off | ( | void | ) |
Turn off the JTAG function.
| none |
| void sys_log_uart_off | ( | void | ) |
close log uart
| none |
| void sys_log_uart_on | ( | void | ) |
open log uart
| none |
| void sys_recover_ota_signature | ( | void | ) |
switch OTA image if the othe OTA image is valid
| none |
| void sys_reset | ( | void | ) |
system software reset
| none |
| void sys_sdram_off | ( | void | ) |
sdram power off
| none |
1.8.11