MySensors Library & Examples  2.3.2-62-ge298769
Functions
System Timer access

Detailed Description

Allows access to and delays using the System Timer Counter.

Functions

uint64_t bcm2835_st_read (void)
 
void bcm2835_st_delay (uint64_t offset_micros, uint64_t micros)
 

Function Documentation

◆ bcm2835_st_delay()

void bcm2835_st_delay ( uint64_t  offset_micros,
uint64_t  micros 
)

Delays for the specified number of microseconds with offset.

Parameters
[in]offset_microsOffset in microseconds
[in]microsDelay in microseconds

◆ bcm2835_st_read()

uint64_t bcm2835_st_read ( void  )

Read the System Timer Counter register.

Returns
the value read from the System Timer Counter Lower 32 bits register