Workflow
The following steps briefly describe the basic workflow in the Peripherals tool.
- In the Peripherals view, select the peripheral instance you would like to configure (use the checkbox).
- In case more components are available for use by the peripheral, the Select component dialog appears. The dialog displays the list of suitable configuration components for the selected peripheral matching the SDK driver for the selected processor.
- Select the component that you want to use and click OK.
- In the settings editor that automatically opens, select the Component
mode that you would like to use and configure individual settings.Note: The selection of the component mode may impact appearance of some settings. Therefore, the selection of the mode must be always the first step.
- Open the Code Preview and see the output source code.Note: The source code preview is automatically generated after each change if no error is reported.
- You can use the Update Code button from the toolbar.
Alternatively, you can export the source code by selecting
File>Export... from the Menu bar.Note: To export the source code, you can also click the Export button in the Code Preview view.
- Settings can be saved in a MEX format (used for all settings of all tools) by selecting File>Save from the Menu bar.