~ubuntu-branches/ubuntu/raring/avr-libc/raring-proposed

« back to all changes in this revision

Viewing changes to include/avr/iotn11.h

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2009-10-31 11:52:10 UTC
  • mfrom: (1.1.8 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091031115210-x0mlijnegkce86fk
Tags: 1:1.6.7-1
* New upstream relese (closes: #544030)
* Added lintian overrides (closes: #553265)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
29
  POSSIBILITY OF SUCH DAMAGE. */
30
30
 
31
 
/* $Id: iotn11.h,v 1.9.2.2 2008/01/06 20:10:46 arcanum Exp $ */
 
31
/* $Id: iotn11.h,v 1.9.2.5 2008/10/17 23:27:51 arcanum Exp $ */
32
32
 
33
33
/* avr/iotn11.h - definitions for ATtiny10/11 */
34
34
 
204
204
#define RAMEND          0x1F
205
205
#define XRAMEND         0x0
206
206
#define E2END           0x0
 
207
#define E2PAGESIZE  2
207
208
#define FLASHEND        0x3FF
208
209
 
209
210
 
212
213
#define FUSE_MEMORY_SIZE 1
213
214
 
214
215
/* Low Fuse Byte */
215
 
#define FUSE_CKSEL0      ~_BV(0)
216
 
#define FUSE_CKSEL1      ~_BV(1)
217
 
#define FUSE_CKSEL2      ~_BV(2)
218
 
#define FUSE_RSTDISBL    ~_BV(3)
219
 
#define FUSE_FSTRT       ~_BV(4)
 
216
#define FUSE_CKSEL0      (unsigned char)~_BV(0)
 
217
#define FUSE_CKSEL1      (unsigned char)~_BV(1)
 
218
#define FUSE_CKSEL2      (unsigned char)~_BV(2)
 
219
#define FUSE_RSTDISBL    (unsigned char)~_BV(3)
 
220
#define FUSE_FSTRT       (unsigned char)~_BV(4)
220
221
#define FUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL1)
221
222
 
222
223
 
224
225
#define __LOCK_BITS_EXIST
225
226
 
226
227
 
 
228
/* Signature */
 
229
#define SIGNATURE_0 0x1E
 
230
#define SIGNATURE_1 0x90
 
231
#define SIGNATURE_2 0x04
 
232
 
 
233
 
227
234
#endif /* _AVR_IOTN11_H_ */