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 [ 17.08.2025 05:45] larsdigital_output_group [ 10.10.2025 01:44] (current) lars
Line 8: Line 8:
     "digital_output": {     "digital_output": {
         "green_led": {         "green_led": {
-            "type": "push pull" +            "type": "push pull", 
-            "pad": "PA3"+            "pad": "PA3", 
 +            "on_boot": "enabled"
         }         }
     }     }
Line 34: Line 35:
 ==== invert ==== ==== invert ====
  
-If this setting is set to "on" then turning this output "on" will generate a Low (Gnd) signal. Turning it "off" will generate a High (Vcc) level.+If this setting is set to "enabled" then turning this output "on" will generate a Low (Gnd) signal. Turning it "off" will generate a High (Vcc) level.
  
-If this setting is set to "off" (=default) then turning this output "on" will generate a High (Vcc) signal. Turning it "off" will generate a Low (Gnd) level.+If this setting is set to "disabed" (=default) then turning this output "on" will generate a High (Vcc) signal. Turning it "off" will generate a Low (Gnd) level.
  
-**type**: string+**type**: bool 
 + 
 +**default**: "disabled" 
 + 
 +==== pull_up ==== 
 + 
 +enables the pull up resistor. 
 + 
 +**type**: bool 
 + 
 +**default**: disabled 
 + 
 +==== pull_down ==== 
 + 
 +enables the pull down resistor. 
 + 
 +**type**: bool 
 + 
 +**default**: disabled 
 + 
 + 
 +==== on_boot ==== 
 + 
 +defines the logic level to be set on initialization. Setting this to "enabled" will set the pin High (Vcc) if inverted is disabled. 
 + 
 +**type**: bool 
 + 
 +**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"
  
-**default**: "off" 
  
 ===== API ===== ===== API =====
digital_output_group.1755409551.txt.gz · Last modified: by lars