diff --git a/annotated.html b/annotated.html index b0652b82..98a5e4f5 100644 --- a/annotated.html +++ b/annotated.html @@ -1,9 +1,9 @@ - +
- +▼ watch-library | |
▼ shared | |
▼ shared | |
▼ watch | |
watch.h | |
watch.h | |
watch_adc.h | |
watch_app.h | |
watch_app.h | |
watch_buzzer.h | |
watch_deepsleep.h | |
watch_deepsleep.h | |
watch_extint.h | |
watch_gpio.h | |
watch_gpio.h | |
watch_i2c.h | |
watch_led.h | |
watch_led.h | |
watch_private.h | |
watch_private_display.h | |
watch_private_display.h | |
watch_rtc.h | |
watch_slcd.h | |
watch_slcd.h | |
watch_spi.h | |
watch_storage.h | |
watch_storage.h | |
watch_uart.h | |
watch_utility.h | |
watch_utility.h |
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.
The buttons are the core input UI of the watch, and the way the user will interact with your application. They are active high, pulled down by the microcontroller, and triggered when one of the "pushers" brings a tab from the metal frame into contact with the edge of the board. Note that the buttons can only wake the watch from STANDBY mode, at least as of the current SAM L22 silicon revision. The external interrupt controller runs in STANDBY mode, but it does not run in BACKUP mode; to wake from BACKUP, buttons will not cut it.
This section covers functions related to the piezo buzzer embedded in the F-91W's back plate.
This section covers functions related to general-purpose input and output signals.
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.
The SAM L22 is an exceedingly power efficient chip, whereas the LED's are relatively power- hungry. The green LED, at full power, consumes more power than the whole chip in active mode, and the red LED consumes about twelve times as much power! The LED's should thus be used only sparingly in order to preserve battery life.
make LED=BLUE
, and the watch library will automatically swap the pins so that watch_set_led_red sets the red LED, and watch_set_led_green sets the blue one. The real-time clock is the only peripheral that main.c enables for you. It is the cornerstone of low power operation on the watch, and it is required for several key functions that we assume will be available, namely the wake from BACKUP mode and the callback on the ALARM button. It is also required for the operation of the 1 Hz tick interrupt, which you will most likely use to wake from STANDBY mode.
The segment LCD controller consumes about 3 microamperes of power with no segments on, and about 4 microamperes with all segments on. There is also a slight power impact associated with updating the screen (about 1 microampere to update at 1 Hz). For the absolute lowest power operation, update the display only when its contents have changed, and disable the SLCD peripheral when the screen is not in use. For a map of all common and segment pins, see segmap.html. You can hover over any segment in that diagram to view the common and segment pins associated with each segment of the display.
This section covers functions related to the SAM L22's built-in SPI driver, including configuring the SPI bus and writing to / reading from devices.
Row 0 │ 64 bytes │ 64 bytes │ 64 bytes │ 64 bytes │ ├──────────────┼──────────────┼──────────────┼──────────────┤ Row 1 │ 64 bytes │ 64 bytes │ 64 bytes │ 64 bytes │ ├──────────────┼──────────────┼──────────────┼──────────────┤ ... │ │ │ │ │ ├──────────────┼──────────────┼──────────────┼──────────────┤ Row 31 │ 64 bytes │ 64 bytes │ 64 bytes │ 64 bytes │ └──────────────┴──────────────┴──────────────┴──────────────┘
This section covers functions related to the UART peripheral.
This section covers various useful functions that don't fit anywhere else.
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 |
Application Framework | This section covers the functions that you will implement in your app.c file when designing a Sensor Watch app |
Application Framework | This section covers the functions that you will implement in your app.c file when designing a Sensor Watch app |
Buzzer | This section covers functions related to the piezo buzzer embedded in the F-91W's back plate |
Sleep Control | This section covers functions related to the various sleep modes available to the watch, including Sleep, Deep Sleep, and BACKUP mode |
Sleep Control | This section covers functions related to the various sleep modes available to the watch, including Sleep, Deep Sleep, and BACKUP mode |
Buttons & External Interrupts | This section covers functions related to the three buttons: Light, Mode and Alarm, as well as external interrupts from devices on the nine-pin connector |
Digital Input and Output | This section covers functions related to general-purpose input and output signals |
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 |
LED Control | This section covers functions related to the bi-color red/green LED mounted behind the LCD |
LED Control | This section covers functions related to the bi-color red/green LED mounted behind the LCD |
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 |
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 |
SPI Controller Driver | This section covers functions related to the SAM L22's built-in SPI driver, including configuring the SPI bus and writing to / reading from devices |
Flash Storage | This section covers functions related to the SAM L22's 8 kilobyte EEPROM emulation area |
Flash Storage | This section covers functions related to the SAM L22's 8 kilobyte EEPROM emulation area |
UART | This section covers functions related to the UART peripheral |
Utility Functions | This section covers various useful functions that don't fit anywhere else |
Utility Functions | This section covers various useful functions that don't fit anywhere else |