[an error occurred while processing this directive] [an error occurred while processing this directive]
Ответ: Выдержка из егойной доки:
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Chum_A 15 декабря 2001 г. 09:13
В ответ на: Помогите с Hi-Tech отправлено Vima 14 декабря 2001 г. 20:54

Configuration Fuses
The PIC processor's configuration fuses may be set using the __CONFIG macro as follows:
#include
__CONFIG(x);
where x is the word that is to be the configuration word. For convenience, the commonly-used bits are provided in the header file for the appropriate PIC processor. The code protection fuses are not always defined in the header file. Here is an example for the PIC16C5x:
__CONFIG(FOSC1|WDTE|0x0600);
Some PIC processors have more than a single bit location that need to be programmed to disable code space protection. There are special macros defined in the specific PIC header files which may be used to select the available levels of code protection. Check the appropriate header file and ensure that all the configuration bits are correctly specified in the __CONFIG macro for your application before programming the device.

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

Ответы



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

E-mail: info@telesys.ru