GlobLib
HAL and API libraries for MCUs and hardware.
attiny13a_clock.h File Reference

Header file for attiny13a CLOCK. More...

#include "attiny13a_gpio.h"
#include "attiny13a_debug.h"

Go to the source code of this file.

Macros

#define CLOCK_BASE   9.6e6
 Maximum clock speed for internal RC oscillator.
 
#define CLOCK_DIV_64   F_CPU/64
 Clock speed divided by 64.
 
#define CLOCK_DIV_1024   F_CPU/1024
 Clock speed divided by 1024.
 

Functions

uint32_t CLOCK_getSpeed (void)
 Get the current clock speed of the device. More...
 
uint8_t CLOCK_getSpeedAlternate (void)
 Get the current clock divisor. More...
 

Detailed Description

Header file for attiny13a CLOCK.

Definition in file attiny13a_clock.h.