Function system_flash_set_waitstates()

Set flash controller wait states.

void system_flash_set_waitstates(
		uint8_t wait_states)

Will set the number of wait states that are used by the onboard flash memory. The number of wait states depend on both device supply voltage and CPU speed. The required number of wait states can be found in the electrical characteristics of the device.

Table 1. Parameters
Data direction Parameter name Description



Number of wait states to use for internal flash