In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Template:Infobox MMIO"

From WiiBrew
Jump to navigation Jump to search
(fix)
(updated to use cleaner {{infobox}} template)
Line 1: Line 1:
{| class="toccolours" cellspacing="5" style="float: right; width: {{{width|21em}}}; text-align: left; font-size: 90%; margin: 0 0 3em 3em; border:3px solid skyblue;"
+
{{Infobox
|-
+
|name        = Infobox MMIO
! style="text-align: center; font-size: 130%;" colspan="2" | ''{{{title|{{SUBPAGENAME}}}}}''
+
|bodystyle    =  
|-
+
|above        = {{{title|{{SUBPAGENAME}}}}}
{{#if: {{{partof<includeonly>|</includeonly>}}} |  
+
|subheader    = {{{partof}}}
{{!}} style="text-align: center;" colspan="2" {{!}} {{{partof}}}
+
|headerstyle  = background:#CEE0F2
{{!}}-
+
|labelstyle  =  
}}
+
|datastyle    =
! style="text-align: center;" colspan="2" | Access
+
 
|-
+
|header1  = Access
! Broadway
+
 
| {{{ppc|None}}}
+
|label2  = Broadway
|-
+
|data2    = {{{ppc|None}}}
! Starlet
+
 
| {{{arm|None}}}
+
|label3  = Starlet
|-
+
|data3    = {{{arm|None}}}
! style="text-align: center;" colspan="2" | Registers
+
 
|-
+
|header11 = Registers
! Base
+
 
| {{{base}}}
+
|header12 =
|-
+
|label12  = Base
! Length
+
|data12  = {{{base}}}
| {{{len}}}
+
 
|-
+
|label13  = Length
! Access size
+
|data13  = {{{len}}}
| {{{bits}}} bits
+
 
|-
+
|label14  = Access size
! Byte order
+
|data14  = {{{bits}}} bits
| {{#switch: {{{endian<includeonly>|big</includeonly>}}}
+
 
| little = Little Endian
+
|label15  = Byte order
| revlittle = [[Reversed Little Endian]]
+
|data15  =
| big = Big Endian
+
  {{#switch: {{{endian|big}}}
| {{{endian}}}
+
    | little = Little Endian
}}
+
    | revlittle = [[Reversed Little Endian]]
|-
+
    | big = Big Endian
{{#if: {{{ppcirq<includeonly>|</includeonly>}}}{{{armirq|}}} |
+
    | {{{endian}}}
! style="text-align: center;" colspan="2" {{!}} IRQs
+
  }}
{{!}}-
+
 
{{#if: {{{ppcirq<includeonly>|</includeonly>}}} |
+
|header21 = IRQs
! Broadway
+
 
{{!}} {{{ppcirq}}}
+
|label22  = Broadway
{{!}}-
+
|data22  = {{{ppcirq}}}
}}
+
 
{{#if: {{{armirq<includeonly>|</includeonly>}}} |
+
|label23  = Starlet
! Starlet
+
|data23  = {{{armirq}}}
{{!}} {{{armirq}}}
+
 
{{!}}-
+
|belowstyle =
}}
+
|below =
}}
+
}}<includeonly>
|}
+
[[Category:Hardware]]
<includeonly>[[Category:Hardware]]
 
 
{{#if: {{{ppc|}}} | [[Category:Broadway Hardware]]}}
 
{{#if: {{{ppc|}}} | [[Category:Broadway Hardware]]}}
 
{{#if: {{{arm|}}} | [[Category:Starlet Hardware]]}}</includeonly><noinclude>
 
{{#if: {{{arm|}}} | [[Category:Starlet Hardware]]}}</includeonly><noinclude>

Revision as of 06:04, 27 February 2009

Infobox MMIO
Access
BroadwayNone
StarletNone
Registers
Base{{{base}}}
Length{{{len}}}
Access size{{{bits}}} bits
Byte orderBig Endian
IRQs
Broadway{{{ppcirq}}}
Starlet{{{armirq}}}
This box: view  talk  edit
[create] [purge] Template documentation