[an error occurred while processing this directive] [an error occurred while processing this directive]
Может быть код в сообщении поможет. А вообще USBN9603/4 не любит сетевых паяльников.
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено ПАП 21 июня 2002 г. 09:32
В ответ на: Странное поведение 9604 отправлено Игорь Канель 20 июня 2002 г. 19:21

#define MaskWrAdr 0b11110011
#define MaskWrData 0b11110010
#define MaskRdData 0b11110100

#define WR_ADR(x) (PORTB=x;PORTA=PORTA & MaskWrAdr;PORTA=PORTA | 0x0f;
#define WR_DAT(x) (PORTB=x;PORTA=PORTA & MaskWrData;PORTA=PORTA | 0x0f;
#define RD_DAT(x) (PORTA=PORTA & MaskRdData;x=PORTB;PORTA=PORTA | 0x0f;

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

Ответы



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

E-mail: info@telesys.ru