PebbleOS
Loading...
Searching...
No Matches
Enumerations | Functions
Heart rate zones

Heart rate zone classification using the user's heart rate preferences. More...

Enumerations

enum  HRZone {
  HRZone_Zone0 , HRZone_Zone1 , HRZone_Zone2 , HRZone_Zone3 ,
  HRZoneCount , HRZone_Max = HRZone_Zone3
}
 Heart rate zone. More...
 

Functions

HRZone hr_util_get_hr_zone (int bpm)
 Get the zone of a heart rate.
 
bool hr_util_is_elevated (int bpm)
 Check whether a heart rate is elevated.
 

Detailed Description

Heart rate zone classification using the user's heart rate preferences.

// vigorous effort
}
HRZone hr_util_get_hr_zone(int bpm)
Get the zone of a heart rate.
@ HRZone_Zone2
From the zone 2 threshold.
Definition hr_util.h:28

Enumeration Type Documentation

◆ HRZone

enum HRZone

Heart rate zone.

Enumerator
HRZone_Zone0 

Below the zone 1 threshold.

HRZone_Zone1 

From the zone 1 threshold.

HRZone_Zone2 

From the zone 2 threshold.

HRZone_Zone3 

From the zone 3 threshold.

HRZoneCount 

Number of zones.

HRZone_Max 

Highest zone.

Function Documentation

◆ hr_util_get_hr_zone()

HRZone hr_util_get_hr_zone ( int  bpm)

Get the zone of a heart rate.

Parameters
bpmHeart rate, in beats per minute.
Returns
Zone, from the thresholds in the heart rate preferences.

◆ hr_util_is_elevated()

bool hr_util_is_elevated ( int  bpm)

Check whether a heart rate is elevated.

Parameters
bpmHeart rate, in beats per minute.
Returns
true if bpm is at or above the elevated heart rate preference.