MBSP

Microcontroller Board Support Package

User Tools

Site Tools


configuration_json

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
configuration_json [ 17.08.2025 05:42] larsconfiguration_json [ 08.10.2025 14:32] (current) lars
Line 40: Line 40:
 The user shall not be bothered with the details of the used peripheral. The user should therefore not depend on peripheral names ("SPI0", "UART3", "GPIO PA9", ..) but refer to these resources by names that make sense for the user. These names are defined in this file. The user shall not be bothered with the details of the used peripheral. The user should therefore not depend on peripheral names ("SPI0", "UART3", "GPIO PA9", ..) but refer to these resources by names that make sense for the user. These names are defined in this file.
  
 +===== Types of Settings =====
 +
 +Each setting has a type. The following types are allowed:
 +
 +  * string
 +  * enum
 +  * int
 +  * bool
 +
 +==== string ====
 +
 +The value is a text.
 +
 +**Example:** "chip_name": "APM32F411VC"
 +
 +==== enum ====
 +
 +The value is one out of a limited number of possible values.
 +
 +**Example:** "type": "push pull"
 +
 +==== int ====
 +
 +The value is a number.
 +
 +**Example:** "irq": "23"
 +
 +==== bool ====
 +
 +The value is either "enabled" or "disabled"
 +
 +**Example:** "pull_up": "enabled"
  
 ===== Example ===== ===== Example =====
Line 63: Line 95:
  
 ===== All the Settings ===== ===== All the Settings =====
-  * [[general_settings general settings]] +  * [[adc_group            analogue_input (ADC) group]] 
-  * [[clock_group | clock group]]+  * [[dac_group            | analogue_output (DAC) group]] 
 +  * [[clock_group          | clock group]]
   * [[digital_output_group | digital_output group]]   * [[digital_output_group | digital_output group]]
-  * [[digital_input_group | digital_input group]] +  * [[digital_input_group  | digital_input group]] 
-  * [[adc_group analogue_input (ADC) group]] +  * [[general_settings     general settings]] 
-  * [[dac_group analogue_output (DAC) group]] +  * [[I2C_group            Inter-Integrated Circuit (I2C) group]] 
-  * [[timer_group Timer group]] +  * [[QSPI_group           QSPI group]] 
-  * [[rtc_group | Real Time Clock group]] +  * [[rtc_group            | Real Time Clock group]] 
-  * [[UART_group UART group]] +  * [[SPI_group            SPI group]] 
-  * [[SPI_group SPI group]] +  * [[timer_group          Timer group]] 
-  * [[QSPI_group QSPI group]] +  * [[UART_group           UART group]] 
-  * [[I2C_group Inter-Integrated Circuit (I2C) group]] +  * [[watchdog_group       watchdog group]]
- +
  
configuration_json.1755409358.txt.gz · Last modified: by lars