OpenCores
URL https://opencores.org/ocsvn/igor/igor/trunk

Subversion Repositories igor

[/] [igor/] [trunk/] [avr/] [eth-test/] [uip/] [clock-arch.h] - Rev 4

Compare with Previous | Blame | View Log

#ifndef __CLOCK_ARCH_H__
#define __CLOCK_ARCH_H__
 
#include <stdint.h>
 
typedef uint16_t clock_time_t;
 
//Freqency divided prescaler and counter register size
#define CLOCK_CONF_SECOND	(clock_time_t)(F_CPU / (1024*255))
	//May fail and give overflow
 
#include "clock.h"
 
#endif /* __CLOCK_ARCH_H__ */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.