.currentpll R/O Property

Function:

Returns current PLL mode of the device.

Type:

Enum (no_yes, byte)

Value Range:

  • 0 — NO: PLL is off, the device runs at low speed with reduced power consumption.
  • 1 — YES: PLL is on, the device runs at maximum speed, x8 faster than low speed.

See Also:

sys.newpll


Details

After an external reset, the device typically boots with PLL on. You can switch PLL off and on programmatically by using the sys.newpll method and then "self-resetting" the device using the sys.reboot method.

The actual PLL mode change only takes place after you "self-reset" the device using sys.reboot or the device self-resets due to some other reason (for instance, there is a self reset after a new Tibbo BASIC/C application upload or when you hit the "restart" button in TIDE). External resets — power-up and RST pin reset (using the reset button) — set the PLL to the default state (typically ON). On some devices, there is a hardware jumper that defines the post-external reset state of the PLL.

Not all Tibbo devices have the PLL — to find out if yours does, refer to its platform documentation (for example, the EM1000's is here).


.currentpll R/O Property

Details