MBSP

Microcontroller Board Support Package

User Tools

Site Tools


digital_output_group

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
digital_output_group [ 08.10.2025 14:39] larsdigital_output_group [ 07.02.2026 00:25] (current) lars
Line 9: Line 9:
         "green_led": {         "green_led": {
             "type": "push pull",             "type": "push pull",
-            "pad": "PA3",+            "port": "A", 
 +            "pad": "3",
             "on_boot": "enabled"             "on_boot": "enabled"
         }         }
Line 25: Line 26:
 **default**: push pull **default**: push pull
  
-==== pad ====+==== port ====
  
-defines the chip pad that the signal should be output on.+defines the port assigned to the pin/pad that the signal should be output on.
  
 **type**: string **type**: string
  
-**default**: no default possible+**default**: no default possible (chip dependent) 
 + 
 + 
 +==== pad ==== 
 + 
 +defines the signal inside a port assigned to the pin/pad that the signal should be output on. 
 + 
 +**type**: int 
 + 
 +**default**: no default possible (chip dependent)
  
 ==== invert ==== ==== invert ====
Line 67: Line 77:
  
 **default**: disabled **default**: disabled
 +
 +==== drive_strength ====
 +
 +defines the amount of current that can be driven from the pin. Possible values are:
 +  * 2mA
 +  * 4mA
 +  * 8mA
 +  * 12mA
 +
 +**type**: enum
 +
 +**default**: 2mA
 +
 +==== slew_rate ====
 +
 +defines the rise and fall times. Possible values are:
 +  * slow
 +  * fast
 +
 +**type**: enum
 +
 +**default**: "slow"
 +
  
 ===== API ===== ===== API =====
digital_output_group.1759934388.txt.gz · Last modified: by lars