Step 2.1: Add SLCD, RTC and DMA drivers
3
Similarly select and add 'RTC - Real Time Counter Driver (driver)' and 'DMAC - Direct Memory Access Controller(driver)'.
Configure RTC in 'count_callback' mode and SLCD in 'polling' mode.
- RTC module is enabled to maintain the time instance between sleep and wakeup mode.
- DMAC enables data transfer from source memory to the LCD peripheral and used in this training for scrolling feature.
Step 2.2: Add Delay routines services
Select 'Services' from the 'Show' drop-down list.
Select and add 'Delay routines (service)'.
The delay system service is used for performing delay operations.
Step 2.3: Verify that the board specific modules are added automatically
The PORT, Generic board support and System drivers will be automatically added to the project based on the selected board (in this case SAML22 Xplained Pro Evaluation Kit).
Instead of selecting the ASF modules from the drop down list, you may also find and add the required module by typing the name in the search text box.
Step 2.4: Verify the added modules
On the right pane, click on the 'Solution Explorer' and observe that the source files for the selected modules are added to the project.