This documentation covers most of the functions you will use to interact with the Sensor Watch hardware. It is divided into the following sections:
- Application Framework - This section covers the functions that you will implement in your app.c file when designing a Sensor Watch app.
- Real-Time Clock - This section covers functions related to the SAM L22's real-time clock peripheral, including date, time and alarm functions.
- Segment LCD Display - This section covers functions related to the Segment LCD display driver, which is responsible for displaying strings of characters and indicators on the main watch display.
- Buttons & External Interrupts - This section covers functions related to the three buttons: Light, Mode and Alarm.
- LED Control - This section covers functions related to the bi-color red/green LED mounted behind the LCD.
- Buzzer - This section covers functions related to the piezo buzzer.
- Analog Input - This section covers functions related to the SAM L22's analog-to-digital converter, as well as configuring and reading values from the five analog-capable pins on the 9-pin connector.
- Digital Input and Output - This section covers functions related to general-purpose input and output signals.
- I2C Controller Driver - This section covers functions related to the SAM L22's built-I2C driver, including configuring the I2C bus, putting values directly on the bus and reading data from registers on I2C devices.
- SPI Controller Driver - This section covers functions related to the SAM L22's built-in SPI driver.
- UART - This section covers functions related to the UART peripheral.
- Sleep Control - This section covers functions related to preparing for and entering BACKUP mode, the deepest sleep mode available on the SAM L22.