Retro Rocket Kernel BASIC-Powered Operating System

Functions
timer.h File Reference
`#include <stdint.h>`

## Functions
static uint64_t | rdtsc ()
void | sleep_one_tick ()
void | beep (uint32_t pitch)
void | stopbeep ()
void | sleep (uint64_t secs)
uint64_t | get_ticks ()
void | timer_callback (uint8_t isr, uint64_t errorcode, uint64_t irq, void *opaque)

## Detailed Description

Author
  Craig Edwards (craig.nosp@m.edwa.nosp@m.rds@b.nosp@m.rain.nosp@m.box.c.nosp@m.c)

Copyright
  Copyright (c) 2012-2023

## Function Documentation

## ◆ beep()

void beep | ( | uint32_t | pitch | ) |

## ◆ get_ticks()

uint64_t get_ticks | ( |  | ) |

## ◆ rdtsc()

static uint64_t rdtsc | ( |  | ) |
| inline static

## ◆ sleep()

void sleep | ( | uint64_t | secs | ) |

## ◆ sleep_one_tick()

void sleep_one_tick | ( |  | ) |

## ◆ stopbeep()

void stopbeep | ( |  | ) |

## ◆ timer_callback()

void timer_callback | ( | uint8_t | isr,
|  | uint64_t | errorcode,
|  | uint64_t | irq,
|  | void * | opaque
| ) |  |