====== register Plugin ====== ---- plugin ---- description: Displays register bit breakouts author : Mike Frysinger email : vapier@gmail.com type : syntax lastupdate : 2008-10-13 compatible : 2008-05-05 depends : conflicts : similar : tags : media, images, diagram downloadurl: https://github.com/vapier/dokuwiki-register-plugin/archive/v1.0.tar.gz bugtracker : mailto:vapier@gmail.com?subject=dokuwiki register plugin feedback sourcerepo : https://github.com/vapier/dokuwiki-register-plugin donationurl: ---- ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. You will need to have GD/PNG support enabled in your PHP install, as well as fonts (TrueType). ===== Syntax ===== register = WDOG_CTL long desc = Watchdog Control Register short desc = moo perms = RW addr = 0xFFC00200 reset = 0x0AD0 length = 16 bit range = 15 15 bit name = WDR0 bit desc = 0 - Watchdog timer has not expired\n1 - Watchdog timer has expired bit flags = W1C bit range = 11 4 bit name = WDEN bit desc = 0xAD - Counter disabled\nAll other values - Counter enabled ===== Example ===== The aforementioned code snippet will generate an image like so: {{ http://docs.blackfin.uclinux.org/lib/plugins/register/watchdog.png }}