please dont rip this site



    This file is part of the <MyPackage> package

    Copyright (c) 2003 dinux -

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


/* Macroses, constants, etc*/

#ifndef _MAIN_H_
#define _MAIN_H_

#define CPU_CLOCK	11059200

/* Variable for storing flags and boolean types. Very memory-efficient way to store
 * boolean values. Note that it might be a bit slower though.*/
struct _bitfield {
	unsigned char b0:1;
	unsigned char b1:1;
	unsigned char b2:1;
	unsigned char b3:1;
	unsigned char b4:1;
	unsigned char b5:1;
	unsigned char b6:1;
	unsigned char b7:1;

/* If you declare bits_store1 to be of type _bitfield in every module, you
 * can declare some pseudonims for boolean flags.*/
#define some_boolean_var		bits_store1.b0

/* Variable for storing time information */
struct rtc_time {
	unsigned char sec;
	unsigned char min;
	unsigned char hour;
	unsigned char day_of_month;
	unsigned char month;
	unsigned char year;
	unsigned char week_day;
	unsigned char week_num;

/* Global IO pin/port definitions */

#endif //_MAIN_H_

file: /Techref/atmel/avr/avrbot-main_h.htm, 2KB, , updated: 2004/2/14 22:55, local time: 2022/7/5 12:01, owner: JMN-EFP-786,

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> mail.h</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!