реклама на сайте
подробности

 
 
> как создать 24 битный указатель (code vision)
ysmat
сообщение Oct 31 2012, 09:55
Сообщение #1


Участник
*

Группа: Участник
Сообщений: 60
Регистрация: 18-01-09
Пользователь №: 43 553



нужно создать указатель для работы с внешней памятью
чип atxmega128a1

Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
ysmat
сообщение Oct 31 2012, 12:00
Сообщение #2


Участник
*

Группа: Участник
Сообщений: 60
Регистрация: 18-01-09
Пользователь №: 43 553



вот файл stdint.h
/*
CodeVisionAVR C Compiler
© 1998-2008 Pavel Haiduc, HP InfoTech S.R.L.

stdint.h standard header
*/

#ifndef _STDINT_INCLUDED_
#define _STDINT_INCLUDED_

typedef signed char int8_t;
typedef unsigned char uint8_t;

typedef short int16_t;
typedef unsigned short uint16_t;

typedef long int32_t;
typedef unsigned long uint32_t;

// An integer type large enough to be able to hold a pointer to RAM.
#ifdef _MODEL_TINY_
typedef signed char intptr_t;
typedef unsigned char uintptr_t;
#else
typedef short intptr_t;
typedef unsigned short uintptr_t;
#endif

// An integer type large enough to be able to hold a pointer to FLASH.
#if defined _MODEL_MEDIUM_ | defined _MODEL_LARGE_
typedef long flash_intptr_t;
typedef unsigned long flash_uintptr_t;
#else
typedef short flash_intptr_t;
typedef unsigned short flash_uintptr_t;
#endif

// An integer type large enough to be able to hold a pointer to EEPROM.
typedef short eeprom_intptr_t;
typedef unsigned short eeprom_uintptr_t;

#endif
Go to the top of the page
 
+Quote Post

Сообщений в этой теме
- ysmat   как создать 24 битный указатель (code vision)   Oct 31 2012, 09:55
- - haker_fox   QUOTE (ysmat @ Oct 31 2012, 18:55) нужно ...   Oct 31 2012, 10:58
- - ysmat   Цитата(haker_fox @ Oct 31 2012, 14:58) Со...   Oct 31 2012, 11:21
|- - MrYuran   Цитата(ysmat @ Oct 31 2012, 15:21) походу...   Oct 31 2012, 11:31
||- - _Артём_   Цитата(MrYuran @ Oct 31 2012, 13:31) Есть...   Oct 31 2012, 11:57
|- - Палыч   Цитата(ysmat @ Oct 31 2012, 15:21) походу...   Oct 31 2012, 12:26
- - ysmat   ЦитатаВопрос о том, как адресовать более 64к байт ...   Oct 31 2012, 15:29
|- - _Артём_   Цитата(ysmat @ Oct 31 2012, 17:29) а можн...   Oct 31 2012, 15:57
- - ysmat   к атхмеге128 подключен lcd екран как внешняя памят...   Oct 31 2012, 18:24
|- - _Артём_   Цитата(ysmat @ Oct 31 2012, 20:24) Кодvoi...   Oct 31 2012, 20:11
|- - =GM=   А так почему нельзя сделать unsigned long i; unsi...   Oct 31 2012, 20:41
||- - _Артём_   Цитата(=GM= @ Oct 31 2012, 22:41) А так п...   Oct 31 2012, 21:27
||- - ysmat   Цитата(=GM= @ Oct 31 2012, 23:41) А так п...   Oct 31 2012, 21:48
||- - _Артём_   Цитата(ysmat @ Oct 31 2012, 23:48) Error:...   Oct 31 2012, 22:26
||- - Сергей Борщ   QUOTE (_Артём_ @ Nov 1 2012, 01:26) Работ...   Nov 1 2012, 07:23
|- - haker_fox   QUOTE (ysmat @ Nov 1 2012, 03:24) к атхме...   Nov 1 2012, 01:25
|- - _Артём_   Цитата(haker_fox @ Nov 1 2012, 03:25) А т...   Nov 1 2012, 01:53
|- - haker_fox   QUOTE (_Артём_ @ Nov 1 2012, 10:53) А на ...   Nov 1 2012, 11:31
- - ysmat   посмотрел на настройки компилятора там есть выбор ...   Nov 1 2012, 08:43
|- - Сергей Борщ   QUOTE (ysmat @ Nov 1 2012, 11:43) посмотр...   Nov 1 2012, 08:51
- - ysmat   The LARGE memory model is similar to the SMALL mem...   Nov 1 2012, 09:15
|- - Палыч   Цитата(ysmat @ Nov 1 2012, 13:15) ошибка ...   Nov 1 2012, 09:50
- - ysmat   у меня к этому екрану подключена простая плис она ...   Nov 1 2012, 12:49
- - _Артём_   Цитата(ysmat @ Nov 1 2012, 14:49) у меня ...   Nov 1 2012, 13:07


Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 21st August 2025 - 01:28
Рейтинг@Mail.ru


Страница сгенерированна за 0.01395 секунд с 7
ELECTRONIX ©2004-2016