Difference between revisions of "Template:Module"

From Ethersex_Wiki
Jump to: navigation, search
(TIMER test)
(docu)
 
Line 93: Line 93:
 
|}
 
|}
 
or leave blank
 
or leave blank
 +
 +
== Templates for TIMER ==
 +
{| style="width:50%"
 +
|-
 +
|
 +
{{Codeline|<nowiki>{{occupies_timer|VALUE}}</nowiki>}}
 +
|}
 +
or leave blank
 +
 
== Example ==
 
== Example ==
  

Latest revision as of 21:20, 2 April 2013

Module


Templates for menuconfig

If you use one of the following templates, the module will automatically added to the proper category

{{I/O}}

{{Protocols}}

{{Applications}}


Templates for STATUS

{{stable}}

Stable

{{Experimental}}

Experimental

{{In_Development}}

In Development

{{Unstable}}

Unstable/Broken

{{Deprecated}}

Deprecated

Templates for ECMD

{{has_ecmd}}

or leave blank

Templates for CONTROL6

{{has_control6}}

or leave blank

Templates for TIMER

{{occupies_timer|VALUE}}

or leave blank

Example

{{Module
|NAME=Onewire
|MENUCONFIG={{I/O}}->Onewire support
|STATUS={{stable}}
|PINNING=yes
|ECMD={{has_ecmd}}
|CONTROL6={{has_control6}}
|DEPENDS=[[ECMD]]
|REQUIRES= -
|CODE=[https://github.com/ethersex/ethersex/tree/master/hardware/onewire https://github.com/ethersex/ethersex/tree/master/hardware/onewire]
}}

Result

Onewire
Status
Stable
menuconfig I/O->Onewire support
Pinning yes
Ecmd yes
Control6 yes
Uses Timer Timer 1
Depends on ECMD
Requires -
Code https://github.com/ethersex/ethersex/tree/master/hardware/onewire