21.6.2.12.1 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 21-39. Parameters
Data directionParameter nameDescription

[in]

wait_states

Number of wait states to use for internal flash