Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
BASCOM AVR, help reference (2007).PDF
Скачиваний:
293
Добавлен:
12.08.2013
Размер:
17.02 Mб
Скачать

© MCS Electronics, 1995-2007

File Print Preview

With this option, you can preview the current program before it is printed. Note that the current program is the program that has the focus.

File print preview shortcut :

File Print

With this option, you can print the current program.

Note that the current program is the program that has the focus.

File print shortcut : , CTRL+P

File Exit

With this option, you can leave BASCOM.

If you have made changes to your program, you can save them upon leaving BASCOM.

All of the files you have open, at the moment you choose exit, will be remembered. The next time you run BASCOM, they will be opened automatically.

File exit shortcut :

View PinOut

The PinOut viewer is a dock able window that shows the case of the active chip. The active chip is determined by the value of $REGFILE.

page -30-

© MCS Electronics, 1995-2007

When you move the mouse cursor over a pin, you will see that the pin will be colored red. At the bottom of the window, a pin description is show. In the sample above you willsee that each line has a different color. This means that the pin has multiple alternative functions. The first blue colored function is as generic IO pin.

The second green colored function is RESET pin.

The third black colored function is PIN change interrupt.

A pin can have one or more functions. Some functions can be used together.

When you move the mouse currsor away, the pin will be colored blue to indicate that you viewed this pin. For example, when you need to look at it again.

You can also search for a pin description. Enter some text and return.

Here is an example when you search the VCC pin :

page -31-

© MCS Electronics, 1995-2007

When pins are found that have the search phrase in the description, the pin will be colored blue.

By clicking 'Clear Pin HL' you can clear all colored pins.

Some chips might have multiple cases. You can select the case from the package list.

page -32-

© MCS Electronics, 1995-2007

When you change from package, all pin colors will be cleared.

When you double click a pin, the pin will be colored green. Another double click will color it red/blue.

When a pin is green, it will not be colored red/blue. The green color serves as a kind of bookmark.

The only exception is the search function. It will make bookmarked green pins, blue too.

Use the right mouse to access a popup menu. This menu allows you to zoomthe image to a bigger or smaller size.

Double click the chip to show the chip data.

page -33-

© MCS Electronics, 1995-2007

When you want to search for a chip, click the 'Chip Search' button.

It will show the following window:

You can provide criteria such as 2 UARTS. All criteria are OR-ed together. This means that when one of the criteria is met, the chip will be included in the list.

page -34-