libpic170x  0.2
Ease of use library for PIC16(L)1705/1709 chips
Public Attributes | List of all members
Timer0 Struct Reference

#include <timer0.h>

Public Attributes

uint32_t ms
uint16_t us

Detailed Description

Provides access to the timer counter values. Values are writeable if a reset of the counter is desired.

Definition at line 49 of file timer0.h.

Member Data Documentation

◆ ms

uint32_t Timer0::ms

ms portion of the counter. This will wrap to zero when the uint32_t is exhausted

Definition at line 52 of file timer0.h.

◆ us

uint16_t Timer0::us

Microsecond porition of the counter. Will always be <= 1000.

Definition at line 56 of file timer0.h.

The documentation for this struct was generated from the following file: