Товарищи помогите понять о чем идет речь (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено Chupakabra 18 марта 2005 г. 17:12

BC02 has internal resistors which can be configured to either pull-up or pull-down mode when the pins are used for input. This is controlled by the value written to the output register using PioSet. The resistors pull-down if the value is zero, and pull-up otherwise, so the following fragment sets pins 1 and 2 to inputs with pin 1 configured to pull-up and pin 2 configured to pull-down.

PioSet(2|4, 2);
PioSetDir(2|4, 0);

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

Ответы



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

E-mail: info@telesys.ru