Difference between revisions of "Template:MicroprocessorDevice"

[unchecked revision] [quality revision]
m
m

1 Usage[edit]

The MicroprocessorDevice template is used to indicate for which microprocessor device(s), an article part (chapter, paragraph, table...) is valid. Per default (i.e. if this template is not used), any part of an article is valid for all microprocessor devices for which the entire article is valid.

It outputs a "standardized" string that might be used to name an article part.

Usage: {{MicroprocessorDevice | device=<device> | security=<security>}}
Where:
  • <device> is the mandatory identifier parameter that specify specifies the class, the Series, the lines or the line.The possible values are:
    • Class: STM32 Arm® Cortex® MPUs
    • 1: STM32MP1 Series
      • 15: STM32MP15x lines
        • 151: STM32MP151 access line
        • 153: STM32MP153 foundation line
        • 157: STM32MP157 advanced line
  • <security> is the optional identifier (one letter) parameter that specifies the security. The possible values are:
    • ABasic: Basicbasic security
    • CAdvanced: Secure secure boot and cryptography
  • <frequency> is the optional parameter that specifies the Arm® Cortex®-A frequency. The possible values are:
    • 650: 650 MHz
    • 800: 800 MHz

Summary (see also the part number codification for the STM32MP15 MPUs):

<device> <security> <frequency> Result
Class Any value Any value STM32 Arm® Cortex® MPUs
1 Any value Any value STM32MP1 Series
15 Basic 650 STM32MP15xA lines
800 STM32MP15xD lines
Not specified or unknown STM32MP15xA/D lines
Advanced 650 STM32MP15xC lines
800 STM32MP15xF lines
Not specified or unknown STM32MP15xC/F lines
Not specified or unknown 650 STM32MP15xA/C lines
800 STM32MP15xD/F lines
Not specified or unknown STM32MP15x lines
157
Same for 153
Same for 151
Basic 650 STM32MP157A line
800 STM32MP157D line
Not specified or unknown STM32MP157A/D line
Advanced 650 STM32MP157C line
800 STM32MP157F line
Not specified or unknown STM32MP157C/F line
Not specified or unknown 650 STM32MP157A/C line
800 STM32MP157D/F line
Not specified or unknown STM32MP157 line

Clicking on the More info.png icon displays the article about the microprocessor device lines (e.g. STM32MP15 microprocessor).

2 Basic examples[edit]

You type You get
STM32 Arm® Cortex® MPUs
{{MicroprocessorDevice | device=Class}}

STM32 Arm® Cortex® MPUs More info.png

STM32MP1 Series
{{MicroprocessorDevice | device=1}}

STM32MP1 Series

STM32MP15x lines
{{MicroprocessorDevice | device=15}}

STM32MP15x lines More info.png

STM32MP157 line
{{MicroprocessorDevice | device=157}}

STM32MP157 line More info.png

STM32MP15x lines with basic security
{{MicroprocessorDevice | device=15 | security=ABasic}}

unknown security STM32MP15x STM32MP15xA/D lines More info.png

STM32MP157 line with secure boot and cryptography
{{MicroprocessorDevice | device=157 | security=Advanced}

STM32MP157C/F line More info.png

STM32MP15x lines with Arm® Cortex®-A at 650 MHz

{{MicroprocessorDevice | device=15 | frequency=650}}

STM32MP15xA/C lines More info.png

STM32MP157 line with Arm® Cortex®-A at 800 MHz

{{MicroprocessorDevice | device=157 | frequency=800}}

unknown security STM32MP157 line More info.png

STM32MP157D/F line More info.png

STM32MP15x lines with secure boot and cryptography and Arm® Cortex®-A at 800 MHz

{{MicroprocessorDevice | device=15 | security=Advanced | frequency=800}}

STM32MP15xF lines More info.png

STM32MP157 line with basic security and Arm® Cortex®-A at 650 MHz

{{MicroprocessorDevice | device=157 | security=Basic | frequency=650}}

STM32MP157A line More info.png

3 More examples[edit]

You type You get
Unspecified microprocessor device
{{MicroprocessorDevice}}

STM32MP unknown microprocessor device

Security and frequency ignored for class
{{MicroprocessorDevice | device=Class | security=ABasic | frequency=800}}

unknown security STM32 ArmSTM32 Arm® Cortex® MPUs More info.png

Security and frequency ignored for Series
{{MicroprocessorDevice | device=1 | security=AAdvanced | frequency=650}}

unknown security STM32MP1 Series STM32MP1 Series

Unknown Series
{{MicroprocessorDevice | device=0}}

STM32MP0 unknown microprocessor device

Unknown lines
{{MicroprocessorDevice | device=11}}

STM32MP11 unknown microprocessor device

Unknown line
{{MicroprocessorDevice | device=154}}

STM32MP154 unknown microprocessor device

Unknown line
{{MicroprocessorDevice | device=1531}}

STM32MP1531 unknown microprocessor device

Unknown security
{{MicroprocessorDevice | device=15 | security=ZMedium}}

unknown security STM32MP15x lines More info.png

Unknown line and security
{{MicroprocessorDevice | device=152 | security=ZMedium}}

unknown security STM32MP152 unknown microprocessor device

Unknown frequency

{{MicroprocessorDevice | device=15 | frequency=500}}

unknown frequency STM32MP15x lines More info.png

Unknown line and frequency

{{MicroprocessorDevice | device=152 | frequency=500}}

unknown frequency STM32MP152 unknown microprocessor device

Unknown security and frequency

{{MicroprocessorDevice | device=15 | security=Medium | frequency=500}}

unknown security unknown frequency STM32MP15x lines More info.png

Check that there's no space before and after the text
BEFORE{{MicroprocessorDevice | device=Class}}AFTER<br>
BEFORE{{MicroprocessorDevice | device=1}}AFTER<br>
BEFORE{{MicroprocessorDevice | device=15}}AFTER<br>
BEFORE{{MicroprocessorDevice | device=157}}AFTER<br>
BEFORE{{MicroprocessorDevice | device=15 | security=A}}AFTER

BEFORESTM32 Arm® Cortex® MPUs More info.pngAFTER
BEFORESTM32MP1 SeriesAFTER
BEFORESTM32MP15x lines More info.pngAFTER
BEFORESTM32MP157 line More info.pngAFTER
BEFOREunknown security STM32MP15x BEFORESTM32MP15xA/D lines More info.pngAFTER

4 Code[edit]

STM32MP unknown microprocessor device

<noinclude>

==Usage==
The [[Template:MicroprocessorDevice|MicroprocessorDevice]] template is used '''to indicate for which microprocessor device(s), an article part (chapter, paragraph, table...) is valid'''. Per default (i.e. if this template is not used), any part of an article is valid for all microprocessor devices for which the entire article is valid.

It outputs a "standardized" string that might be used to name an article part.

 Usage: <nowiki>{{</nowiki>MicroprocessorDevice | device={{HighlightParam|<device>}} | security={{HighlightParam|<security>}}}}
:Where:
* {{HighlightParam|<device>}} is the '''mandatory''' identifierparameter that specifyspecifies the class, the Series, the lines or the line.The possible values are:
** '''Class''': STM32 Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs
** '''1''': STM32MP1 Series
*** '''15''': STM32MP15x lines
**** '''151''': STM32MP151 access line
**** '''153''': STM32MP153 foundation line
**** '''157''': STM32MP157 advanced line
* {{HighlightParam|<security>}} is the '''optional''' identifier (one letter) parameter that specifies the security. The possible values are:
** '''A''': Basic
** '''C''': Secure boot and cryptography
Basic''': basic security
** '''Advanced''': secure boot and cryptography
* {{HighlightParam|<frequency>}} is the '''optional''' parameter that specifies the Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A frequency. The possible values are:
** '''650''': 650 MHz
** '''800''': 800 MHz

Summary (see also the [[STM32MP15 microprocessor#Part number codification|part number codification]] for the STM32MP15 MPUs):
{| class="st-table"
! {{HighlightParam|<device>}} !! {{HighlightParam|<security>}} !! {{HighlightParam|<frequency>}} !! Result
|-
| Class || Any value || Any value || STM32 Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs
|-
| 1 || Any value || Any value || STM32MP1 Series
|-
| rowspan="9" | 15 || rowspan="3" | Basic || 650 || STM32MP15xA lines
|-
| 800 || STM32MP15xD lines
|-
| Not specified or unknown || STM32MP15xA/D lines
|-
| rowspan="3" | Advanced || 650 || STM32MP15xC lines
|-
| 800 || STM32MP15xF lines
|-
| Not specified or unknown || STM32MP15xC/F lines
|-
| rowspan="3" | Not specified or unknown || 650 || STM32MP15xA/C lines
|-
| 800 || STM32MP15xD/F lines
|-
| Not specified or unknown || STM32MP15x lines
|-
| rowspan="9" | 157<br>Same for 153<br>Same for 151 || rowspan="3" | Basic || 650 || STM32MP157A line
|-
| 800 || STM32MP157D line
|-
| Not specified or unknown || STM32MP157A/D line
|-
| rowspan="3" | Advanced || 650 || STM32MP157C line
|-
| 800 || STM32MP157F line
|-
| Not specified or unknown || STM32MP157C/F line
|-
| rowspan="3" | Not specified or unknown || 650 || STM32MP157A/C line
|-
| 800 || STM32MP157D/F line
|-
| Not specified or unknown || STM32MP157 line
|}
Clicking on the <sup>[[File:More_info.png|15px|link=]]</sup> icon displays '''the article about the microprocessor device lines''' (e.g. [[STM32MP15 microprocessor]]).

==Basic examples==
{| class="st-table"
! style="width: 50%;" | You type !! You get
|-
| STM32 Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=Class}}</pre>

|
{{MicroprocessorDevice | device=Class}}
|-
| STM32MP1 Series<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=1}}</pre>

|
{{MicroprocessorDevice | device=1}}
|-
| STM32MP15x lines<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=15}}</pre>

|
{{MicroprocessorDevice | device=15}}
|-
| STM32MP157 line<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=157}}</pre>

|
{{MicroprocessorDevice | device=157}}
|-
| STM32MP15x lines with basic security<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=15 | security=ABasic}}</pre>

|
{{MicroprocessorDevice | device=15 |security=A}}
|-
| STM32MP157 line with Basic}}
|-
| STM32MP157 line with secure boot and cryptography<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=157 | security=Advanced}</pre>

|
{{MicroprocessorDevice | device=157 | security=Advanced}}
|-
| STM32MP15x lines with Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 650 MHz<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=15 | frequency=650}}</pre>

|
{{MicroprocessorDevice | device=15 | frequency=650}}
|-
| STM32MP157 line with Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 800 MHz<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=157 | frequency=800}}</pre>

|
{{MicroprocessorDevice | device=157 | frequency=800}}
|-
| STM32MP15x lines with secure boot and cryptography <pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=157 | security=Cand Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 800 MHz<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=15 | security=Advanced | frequency=800}}</pre>

|
{{MicroprocessorDevice | device=15 | security=Advanced | frequency=800}}
|-
| STM32MP157 line with basic security and Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 650 MHz<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=157 | security=Basic | frequency=650}}</pre>

|
{{MicroprocessorDevice | device=157 | security=CBasic | frequency=650}}
|}

==More examples==
{| class="st-table"
! style="width: 50%;" | You type !! You get
|-
| Unspecified microprocessor device<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice}}</pre>

|
{{MicroprocessorDevice}}
|-
| Security and frequency ignored for class<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=Class | security=ABasic | frequency=800}}</pre>

|
{{MicroprocessorDevice | device=Class | security=A}}
|-
| Security Basic | frequency=800}}
|-
| Security and frequency ignored for Series<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=1 | security=AAdvanced | frequency=650}}</pre>

|
{{MicroprocessorDevice | device=1 | security=AAdvanced | frequency=650}}
|-
| Unknown Series<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=0}}</pre>

|
{{MicroprocessorDevice | device=0}}
|-
| Unknown lines<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=11}}</pre>

|
{{MicroprocessorDevice | device=11}}
|-
| Unknown line<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=154}}</pre>

|
{{MicroprocessorDevice | device=154}}
|-
| Unknown line<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=1531}}</pre>

|
{{MicroprocessorDevice | device=1531}}
|-
| Unknown security<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=15 | security=ZMedium}}</pre>

|
{{MicroprocessorDevice | device=15 | security=ZMedium}}
|-
| Unknown line and security<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=152 | security=ZMedium}}</pre>

|
{{MicroprocessorDevice | device=152 | security=Z}}
|-
| Medium}}
|-
| Unknown frequency<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=15 | frequency=500}}</pre>

|
{{MicroprocessorDevice | device=15 | frequency=500}}
|-
| Unknown line and frequency<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=152 | frequency=500}}</pre>

|
{{MicroprocessorDevice | device=152 | frequency=500}}
|-
| Unknown security and frequency<pre style="white-space: pre-wrap;">

{{MicroprocessorDevice | device=15 | security=Medium | frequency=500}}</pre>

|
{{MicroprocessorDevice | device=15 | security=Medium | frequency=500}}
|-
| Check that there's no space before and after the text<pre style="white-space: pre-wrap;">

BEFORE{{MicroprocessorDevice | device=Class}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=1}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=15}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=157}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=15 | security=A}}AFTER</pre>

|
BEFORE{{MicroprocessorDevice | device=Class}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=1}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=15}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=157}}AFTER<br>

BEFORE{{MicroprocessorDevice | device=15 | security=ABasic}}AFTER
|}

==Code==
{{UpdateNeededForNewDevice|Add the new microprocessor device in the code below and in the list of the possible values above}}</noinclude>{{#vardefine:info|}}{{#switch:{{{security|none}}}
| A | C |  Basic | Advanced | none =
| #default = {{Highlight|unknown security}}&nbsp;
}}{{#switch:{{{frequency|none}}}
| 650 | 800 | none =
| #default = {{Highlight|unknown frequency}}&nbsp;
}}{{#switch:{{{security|}}}
| Basic = {{#switch:{{{frequency|}}}
| 650 = {{#vardefine:secfre|A}}
| 800 = {{#vardefine:secfre|D}}
| #default = {{#vardefine:secfre|A/D}}
}}
| Advanced = {{#switch:{{{frequency|}}}
| 650 = {{#vardefine:secfre|C}}
| 800 = {{#vardefine:secfre|F}}
| #default = {{#vardefine:secfre|C/F}}
}}
| #default = {{#switch:{{{frequency|}}}
| 650 = {{#vardefine:secfre|A/C}}
| 800 = {{#vardefine:secfre|D/F}}
| #default = {{#vardefine:secfre|}}
}}}}{{#switch:{{{device|}}}
| Class = {{#vardefine:dev|&nbsp;Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=Category:STM32 MPU microprocessor devices]]</sup>}}
| 1 = {{#vardefine:dev|MP{{{device|}}}&nbsp;Series}}
| 15 = {{#vardefine:dev|MP{{{device|}}}x{{{security|}}}#var:secfre}} lines}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=STM32MP{{{device}}} microprocessor]]</sup>}}
| 151 | 153 | 157 = {{#vardefine:dev|MP{{{device|}}}{{{security|}}}#var:secfre}}&nbsp;line}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=STM32MP{{#sub:{{{device}}}|0|2}} microprocessor]]</sup>}}
| #default = {{#vardefine:dev|MP{{{device|}}}{{Highlight|&nbsp;unknown microprocessor device}}}}
}}STM32{{#var:dev}}{{#var:info}}
Line 7: Line 7:
 
  Usage: <nowiki>{{</nowiki>MicroprocessorDevice | device={{HighlightParam|<device>}} | security={{HighlightParam|<security>}}}}
 
  Usage: <nowiki>{{</nowiki>MicroprocessorDevice | device={{HighlightParam|<device>}} | security={{HighlightParam|<security>}}}}
 
:Where:
 
:Where:
* {{HighlightParam|<device>}} is the '''mandatory''' identifier that specify the class, the Series, the lines or the line.The possible values are:
+
* {{HighlightParam|<device>}} is the '''mandatory''' parameter that specifies the class, the Series, the lines or the line.The possible values are:
 
** '''Class''': STM32 Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs
 
** '''Class''': STM32 Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs
 
** '''1''': STM32MP1 Series
 
** '''1''': STM32MP1 Series
 
*** '''15''': STM32MP15x lines
 
*** '''15''': STM32MP15x lines
**** '''151''': STM32MP151 access line
+
**** '''151''': STM32MP151 line
**** '''153''': STM32MP153 foundation line
+
**** '''153''': STM32MP153 line
**** '''157''': STM32MP157 advanced line
+
**** '''157''': STM32MP157 line
* {{HighlightParam|<security>}} is the '''optional''' identifier (one letter) that specifies the security. The possible values are:
+
* {{HighlightParam|<security>}} is the '''optional''' parameter that specifies the security. The possible values are:
** '''A''': Basic
+
** '''Basic''': basic security
** '''C''': Secure boot and cryptography
+
** '''Advanced''': secure boot and cryptography
  +
* {{HighlightParam|<frequency>}} is the '''optional''' parameter that specifies the Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A frequency. The possible values are:
  +
** '''650''': 650 MHz
  +
** '''800''': 800 MHz
  +
 
  +
Summary (see also the [[STM32MP15 microprocessor#Part number codification|part number codification]] for the STM32MP15 MPUs):
  +
{| class="st-table"
  +
! {{HighlightParam|<device>}} !! {{HighlightParam|<security>}} !! {{HighlightParam|<frequency>}} !! Result
  +
|-
  +
| Class || Any value || Any value || STM32 Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs
  +
|-
  +
| 1 || Any value || Any value || STM32MP1 Series
  +
|-
  +
| rowspan="9" | 15 || rowspan="3" | Basic || 650 || STM32MP15xA lines
  +
|-
  +
| 800 || STM32MP15xD lines
  +
|-
  +
| Not specified or unknown || STM32MP15xA/D lines
  +
|-
  +
| rowspan="3" | Advanced || 650 || STM32MP15xC lines
  +
|-
  +
| 800 || STM32MP15xF lines
  +
|-
  +
| Not specified or unknown || STM32MP15xC/F lines
  +
|-
  +
| rowspan="3" | Not specified or unknown || 650 || STM32MP15xA/C lines
  +
|-
  +
| 800 || STM32MP15xD/F lines
  +
|-
  +
| Not specified or unknown || STM32MP15x lines
  +
|-
  +
| rowspan="9" | 157<br>Same for 153<br>Same for 151 || rowspan="3" | Basic || 650 || STM32MP157A line
  +
|-
  +
| 800 || STM32MP157D line
  +
|-
  +
| Not specified or unknown || STM32MP157A/D line
  +
|-
  +
| rowspan="3" | Advanced || 650 || STM32MP157C line
  +
|-
  +
| 800 || STM32MP157F line
  +
|-
  +
| Not specified or unknown || STM32MP157C/F line
  +
|-
  +
| rowspan="3" | Not specified or unknown || 650 || STM32MP157A/C line
  +
|-
  +
| 800 || STM32MP157D/F line
  +
|-
  +
| Not specified or unknown || STM32MP157 line
  +
|}
   
 
Clicking on the <sup>[[File:More_info.png|15px|link=]]</sup> icon displays '''the article about the microprocessor device lines''' (e.g. [[STM32MP15 microprocessor]]).
 
Clicking on the <sup>[[File:More_info.png|15px|link=]]</sup> icon displays '''the article about the microprocessor device lines''' (e.g. [[STM32MP15 microprocessor]]).
Line 54: Line 102:
 
| STM32MP15x lines with basic security
 
| STM32MP15x lines with basic security
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
{{MicroprocessorDevice | device=15 | security=A}}
+
{{MicroprocessorDevice | device=15 | security=Basic}}
 
</pre>
 
</pre>
 
|
 
|
{{MicroprocessorDevice | device=15 |security=A}}
+
{{MicroprocessorDevice | device=15 |security=Basic}}
 
|-
 
|-
 
| STM32MP157 line with secure boot and cryptography
 
| STM32MP157 line with secure boot and cryptography
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
{{MicroprocessorDevice | device=157 | security=C}}
+
{{MicroprocessorDevice | device=157 | security=Advanced}
  +
</pre>
  +
|
  +
{{MicroprocessorDevice | device=157 | security=Advanced}}
  +
|-
  +
| STM32MP15x lines with Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 650 MHz
  +
<pre style="white-space: pre-wrap;">
  +
{{MicroprocessorDevice | device=15 | frequency=650}}
  +
</pre>
  +
|
  +
{{MicroprocessorDevice | device=15 | frequency=650}}
  +
|-
  +
| STM32MP157 line with Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 800 MHz
  +
<pre style="white-space: pre-wrap;">
  +
{{MicroprocessorDevice | device=157 | frequency=800}}
  +
</pre>
  +
|
  +
{{MicroprocessorDevice | device=157 | frequency=800}}
  +
|-
  +
| STM32MP15x lines with secure boot and cryptography and Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 800 MHz
  +
<pre style="white-space: pre-wrap;">
  +
{{MicroprocessorDevice | device=15 | security=Advanced | frequency=800}}
  +
</pre>
  +
|
  +
{{MicroprocessorDevice | device=15 | security=Advanced | frequency=800}}
  +
|-
  +
| STM32MP157 line with basic security and Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup>-A at 650 MHz
  +
<pre style="white-space: pre-wrap;">
  +
{{MicroprocessorDevice | device=157 | security=Basic | frequency=650}}
 
</pre>
 
</pre>
 
|
 
|
{{MicroprocessorDevice | device=157 | security=C}}
+
{{MicroprocessorDevice | device=157 | security=Basic | frequency=650}}
 
|}
 
|}
   
Line 78: Line 154:
 
{{MicroprocessorDevice}}
 
{{MicroprocessorDevice}}
 
|-
 
|-
| Security ignored for class
+
| Security and frequency ignored for class
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
{{MicroprocessorDevice | device=Class | security=A}}
+
{{MicroprocessorDevice | device=Class | security=Basic | frequency=800}}
 
</pre>
 
</pre>
 
|
 
|
{{MicroprocessorDevice | device=Class | security=A}}
+
{{MicroprocessorDevice | device=Class | security=Basic | frequency=800}}
 
|-
 
|-
| Security ignored for Series
+
| Security and frequency ignored for Series
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
{{MicroprocessorDevice | device=1 | security=A}}
+
{{MicroprocessorDevice | device=1 | security=Advanced | frequency=650}}
 
</pre>
 
</pre>
 
|
 
|
{{MicroprocessorDevice | device=1 | security=A}}
+
{{MicroprocessorDevice | device=1 | security=Advanced | frequency=650}}
 
|-
 
|-
 
| Unknown Series
 
| Unknown Series
Line 122: Line 198:
 
| Unknown security
 
| Unknown security
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
{{MicroprocessorDevice | device=15 | security=Z}}
+
{{MicroprocessorDevice | device=15 | security=Medium}}
 
</pre>
 
</pre>
 
|
 
|
{{MicroprocessorDevice | device=15 | security=Z}}
+
{{MicroprocessorDevice | device=15 | security=Medium}}
 
|-
 
|-
 
| Unknown line and security
 
| Unknown line and security
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
{{MicroprocessorDevice | device=152 | security=Z}}
+
{{MicroprocessorDevice | device=152 | security=Medium}}
  +
</pre>
  +
|
  +
{{MicroprocessorDevice | device=152 | security=Medium}}
  +
|-
  +
| Unknown frequency
  +
<pre style="white-space: pre-wrap;">
  +
{{MicroprocessorDevice | device=15 | frequency=500}}
 
</pre>
 
</pre>
 
|
 
|
{{MicroprocessorDevice | device=152 | security=Z}}
+
{{MicroprocessorDevice | device=15 | frequency=500}}
  +
|-
  +
| Unknown line and frequency
  +
<pre style="white-space: pre-wrap;">
  +
{{MicroprocessorDevice | device=152 | frequency=500}}
  +
</pre>
  +
|
  +
{{MicroprocessorDevice | device=152 | frequency=500}}
  +
|-
  +
| Unknown security and frequency
  +
<pre style="white-space: pre-wrap;">
  +
{{MicroprocessorDevice | device=15 | security=Medium | frequency=500}}
  +
</pre>
  +
|
  +
{{MicroprocessorDevice | device=15 | security=Medium | frequency=500}}
 
|-
 
|-
 
| Check that there's no space before and after the text
 
| Check that there's no space before and after the text
Line 147: Line 244:
 
BEFORE{{MicroprocessorDevice | device=15}}AFTER<br>
 
BEFORE{{MicroprocessorDevice | device=15}}AFTER<br>
 
BEFORE{{MicroprocessorDevice | device=157}}AFTER<br>
 
BEFORE{{MicroprocessorDevice | device=157}}AFTER<br>
BEFORE{{MicroprocessorDevice | device=15 | security=A}}AFTER
+
BEFORE{{MicroprocessorDevice | device=15 | security=Basic}}AFTER
 
|}
 
|}
   
Line 153: Line 250:
 
{{UpdateNeededForNewDevice|Add the new microprocessor device in the code below and in the list of the possible values above}}
 
{{UpdateNeededForNewDevice|Add the new microprocessor device in the code below and in the list of the possible values above}}
 
</noinclude>{{#vardefine:info|}}{{#switch:{{{security|none}}}
 
</noinclude>{{#vardefine:info|}}{{#switch:{{{security|none}}}
| A | C | none =
+
| Basic | Advanced | none =
 
| #default = {{Highlight|unknown security}}&nbsp;
 
| #default = {{Highlight|unknown security}}&nbsp;
}}{{#switch:{{{device|}}}
+
}}{{#switch:{{{frequency|none}}}
  +
| 650 | 800 | none =
  +
| #default = {{Highlight|unknown frequency}}&nbsp;
  +
}}{{#switch:{{{security|}}}
  +
| Basic = {{#switch:{{{frequency|}}}
  +
| 650 = {{#vardefine:secfre|A}}
  +
| 800 = {{#vardefine:secfre|D}}
  +
| #default = {{#vardefine:secfre|A/D}}
  +
}}
  +
| Advanced = {{#switch:{{{frequency|}}}
  +
| 650 = {{#vardefine:secfre|C}}
  +
| 800 = {{#vardefine:secfre|F}}
  +
| #default = {{#vardefine:secfre|C/F}}
  +
}}
  +
| #default = {{#switch:{{{frequency|}}}
  +
| 650 = {{#vardefine:secfre|A/C}}
  +
| 800 = {{#vardefine:secfre|D/F}}
  +
| #default = {{#vardefine:secfre|}}
  +
}}}}{{#switch:{{{device|}}}
 
| Class = {{#vardefine:dev|&nbsp;Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=Category:STM32 MPU microprocessor devices]]</sup>}}
 
| Class = {{#vardefine:dev|&nbsp;Arm<sup>&reg;</sup> Cortex<sup>&reg;</sup> MPUs}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=Category:STM32 MPU microprocessor devices]]</sup>}}
 
| 1 = {{#vardefine:dev|MP{{{device|}}}&nbsp;Series}}
 
| 1 = {{#vardefine:dev|MP{{{device|}}}&nbsp;Series}}
| 15 = {{#vardefine:dev|MP{{{device|}}}x{{{security|}}} lines}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=STM32MP{{{device}}} microprocessor]]</sup>}}
+
| 15 = {{#vardefine:dev|MP{{{device|}}}x{{#var:secfre}} lines}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=STM32MP{{{device}}} microprocessor]]</sup>}}
| 151 | 153 | 157 = {{#vardefine:dev|MP{{{device|}}}{{{security|}}}&nbsp;line}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=STM32MP{{#sub:{{{device}}}|0|2}} microprocessor]]</sup>}}
+
| 151 | 153 | 157 = {{#vardefine:dev|MP{{{device|}}}{{#var:secfre}}&nbsp;line}}{{#vardefine:info|&nbsp;<sup>[[File:More_info.png|15px|link=STM32MP{{#sub:{{{device}}}|0|2}} microprocessor]]</sup>}}
 
| #default = {{#vardefine:dev|MP{{{device|}}}{{Highlight|&nbsp;unknown microprocessor device}}}}
 
| #default = {{#vardefine:dev|MP{{{device|}}}{{Highlight|&nbsp;unknown microprocessor device}}}}
 
}}STM32{{#var:dev}}{{#var:info}}
 
}}STM32{{#var:dev}}{{#var:info}}