[an error occurred while processing this directive] [an error occurred while processing this directive]
Ответ: (+)
(«Телесистемы»: Конференция «Цифровые сигнальные процессоры (DSP) и их применениеЛ)
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Vlad 10 мая 2001 г. 12:38
В ответ на: Ответ: полный финиш.... вообще кто-нибудь с Сями для ADSP-21xx работает ????? отправлено Evgen 09 мая 2001 г. 14:49

Ваша программа у меня на VDSP7.0+SP1 заработала, в таком виде:


#include

void InitDSP(void);
void hndlTimer (int sig);

int cntTimerInt=0;
static int flag=0;


void main()
{
InitDSP();

while (1)
{;
};

}


void InitDSP(void)
{
timer_off();
timer_set(3333,0,1);

interrupt(SIGTIMER, hndlTimer);
timer_on();

}


void hndlTimer (int sig)
{
switch (flag)
{
case 0:
flag=1; break;
case 1:
flag=0; break;
}
cntTimerInt++;
}


Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru