DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:register
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
plugin:register [2009-10-10 18:19] – tag cleanup laynee
Line 1: Line 1:
 +====== register plugin ======
  
 +---- plugin ----
 +description: Displays register bit breakouts
 +author     : Mike Frysinger
 +email      : vapier@gentoo.org
 +type       : syntax
 +lastupdate : 2008-10-13
 +compatible : 2008-05-05
 +depends    : 
 +conflicts 
 +similar    : 
 +tags       : diagram
 +----
 +
 +===== Download and Installation =====
 +
 +Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.
 +
 +  * http://docs.blackfin.uclinux.org/lib/plugins/register/register.tar.gz
 +
 +You will need to have GD/PNG support enabled in your PHP install, as well as fonts (TrueType).
 +
 +===== Syntax =====
 +
 +<code>
 +<register>
 +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
 +</register>
 +</code>
 +
 +===== Example =====
 +
 +The aforementioned code snippet will generate an image like so:
 +{{ http://docs.blackfin.uclinux.org/lib/plugins/register/watchdog.png }}
plugin/register.txt · Last modified: 2021-01-02 10:23 by vapier

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki