osc_mhz is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

osc_mhz variable

Syntax

static int osc_mhz = 12;

References

LocationReferrerText
tms470.c:328
static int osc_mhz = 12;
tms470.c:335tms470_handle_osc_megahertz_command()
sscanf(CMD_ARGV[0], "%d", &osc_mhz);
tms470.c:337tms470_handle_osc_megahertz_command()
if (osc_mhz <= 0) {
tms470.c:340tms470_handle_osc_megahertz_command()
osc_mhz = 12;
tms470.c:344tms470_handle_osc_megahertz_command()
command_print(CMD, "osc_megahertz=%d", osc_mhz);
tms470.c:562tms470_flash_initialize_internal_state_machine()
sysclk = (plldis ? 1 : (glbctrl & 0x08) ? 4 : 8) * osc_mhz / (1 + (glbctrl & 7));

Data Use

Functions writing osc_mhz
Functions reading osc_mhz
osc_mhz