/* Sets the number of wait states of flash read accesses.  */
void flashcalw_set_wait_state(uint32_t wait_state)
/* Sets the number of wait states of flash read accesses.  */
void flashcalw_set_wait_state(uint32_t wait_state)
{
	HFLASHC->FLASHCALW_FCR = (HFLASHC->FLASHCALW_FCR & ~FLASHCALW_FCR_FWS)
			| (wait_state ? FLASHCALW_FCR_FWS_1 :
			FLASHCALW_FCR_FWS_0);
}