After configuring the peripherals, as shown in the following figure click
Generate under Resource Management [MCC]. Figure 1-14. Code Generation
Note:
The generated code will add files
and folders to the 32-bit MCC Harmony project. In the generated code, notice the
Peripheral Library files generated for the Real-Time Clock (RTC), External
Interrupt Controller (EIC), PORT peripherals, SERCOM4 (as Universal Synchronous
Asynchronous Receiver Transmitter (USART)), and the Direct Memory Access (DMA)
peripherals. The MCC also generates the main.c file.
The MCC provides an option to
change the generated file name. By default, the file name main.c
is generated if a name is not assigned.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.