.newpll Method
Function: |
Sets new state of the PLL. |
Syntax: |
sys.newpll(newpllstate as off_on) |
Returns: |
--- |
See Also: |
Part |
Description |
newpllstate |
Specifies what state the PLL will be in after the device emerges from internal reset:
|
Details
The actual PLL mode change only takes place after you "self-reset" the device using the sys.reboot method 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 PLL — to find out if yours does, refer to its platform documentation (for example, the EM1000's is here).
Notice that the PLL mode affects other objects — for example, the baudrates of ser. object (this is why there is a ser.div9600 property) and the frequency generated by the beep. object.