DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:register

register plugin

Compatible with DokuWiki

2008-05-05

plugin Displays register bit breakouts

Last updated on
2008-10-13
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with diagram, images, media

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. 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>
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>

Example

The aforementioned code snippet will generate an image like so:

plugin/register.txt · Last modified: 2010-01-09 20:42 by 98.217.190.87