Mistake on this page?
Report an issue in GitHub or email us
Public Types | Public Member Functions
clock_accuracy_t Struct Reference
Ble » Gap

Accuracy of the master clock. More...

#include <Types.h>

Inheritance diagram for clock_accuracy_t:
SafeEnum< clock_accuracy_t, uint8_t >

Public Types

typedef uint8_t representation_t
 Type of the representation. More...

Public Member Functions

uint16_t get_ppm ()
 Get clock accuracy. More...
 clock_accuracy_t (type value)
 Construct a new clock_accuracy_t value. More...
uint8_t value () const
 Explicit access to the inner value of the SafeEnum instance. More...
const uint8_t * storage () const
 Return a pointer to the inner storage. More...

Detailed Description

Accuracy of the master clock.

Definition at line 607 of file Types.h.

Member Typedef Documentation

typedef uint8_t representation_t

Type of the representation.

Definition at line 113 of file SafeEnum.h.

Member Enumeration Documentation

enum type

enumeration of clock_accuracy_t values.


500 PPM


250 PPM


150 PPM


100 PPM


75 PPM


50 PPM


30 PPM


20 PPM

Definition at line 609 of file Types.h.

Constructor & Destructor Documentation

clock_accuracy_t ( type  value)

Construct a new clock_accuracy_t value.

valueThe value of the clock_accuracy_t created.

Definition at line 683 of file Types.h.

Member Function Documentation

uint16_t get_ppm ( )

Get clock accuracy.

Parts per million as a number.

Definition at line 655 of file Types.h.

const uint8_t * storage ( ) const

Return a pointer to the inner storage.

Definition at line 209 of file SafeEnum.h.

uint8_t value ( ) const

Explicit access to the inner value of the SafeEnum instance.

Definition at line 202 of file SafeEnum.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.