Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
Loading...
Searching...
No Matches
goals.h
Go to the documentation of this file.
1
16
#pragma once
17
#include <stdint.h>
18
23
24
#define GOALS_STEPS_COUNT 7
25
#define GOALS_DISTANCE_COUNT 7
26
#define GOALS_CALORIES_COUNT 6
27
#define GOALS_ACTIVE_COUNT 5
28
#define GOALS_SLEEP_COUNT 5
29
#define GOALS_HR_COUNT 6
30
37
int
goals_steps
(uint8_t index);
38
48
int
goals_distance_m
(uint8_t index);
49
56
int
goals_calories
(uint8_t index);
57
64
int
goals_active_min
(uint8_t index);
65
74
int
goals_sleep_min
(uint8_t index);
75
82
int
goals_hr_limit
(uint8_t index);
83
goals_active_min
int goals_active_min(uint8_t index)
The active minutes goal for a menu choice.
Definition
goals.c:59
goals_sleep_min
int goals_sleep_min(uint8_t index)
The sleep goal for a menu choice, in minutes.
Definition
goals.c:64
goals_steps
int goals_steps(uint8_t index)
The step goal for a menu choice.
Definition
goals.c:44
goals_distance_m
int goals_distance_m(uint8_t index)
The distance goal for a menu choice, in metres.
Definition
goals.c:49
goals_calories
int goals_calories(uint8_t index)
The active calorie goal for a menu choice.
Definition
goals.c:54
goals_hr_limit
int goals_hr_limit(uint8_t index)
The heart rate limit for a menu choice, the top of a heart rate bar.
Definition
goals.c:69
src
c
core
health
goals.h
Generated by
1.18.0