示例#1
0
文件: flash.c 项目: Dzenik/libopencm3
void flash_clear_status_flags(void)
{
	flash_clear_pgerr_flag();
	flash_clear_eop_flag();
	flash_clear_wrprterr_flag();
	flash_clear_bsy_flag();
}
示例#2
0
文件: flash.c 项目: doceme/libopencm3
void flash_clear_status_flags(void)
{
	flash_clear_pgserr_flag();
	flash_clear_pgperr_flag();
	flash_clear_pgaerr_flag();
	flash_clear_eop_flag();
	flash_clear_wrperr_flag();
	flash_clear_bsy_flag();
}
void flash_clear_status_flags(void)
{
	flash_clear_pgerr_flag();
	flash_clear_eop_flag();
	flash_clear_wrprterr_flag();
	if (DESIG_FLASH_SIZE > 512) {
		flash_clear_pgerr_flag_upper();
		flash_clear_eop_flag_upper();
		flash_clear_wrprterr_flag_upper();
	}
}
示例#4
0
void flash_clear_status_flags(void)
{
	flash_clear_pgerr_flag();
	flash_clear_eop_flag();
	flash_clear_wrprterr_flag();
	flash_clear_bsy_flag();
	if (MEMORY_SIZE_REG > 512) {
		flash_clear_pgerr_flag_upper();
		flash_clear_eop_flag_upper();
		flash_clear_wrprterr_flag_upper();
		flash_clear_bsy_flag_upper();
	}
}