User Tools

Site Tools


glossary:glossary_i

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
glossary:glossary_i [2020/05/08 06:13] – [ICs] tgerbicglossary:glossary_i [2022/01/26 10:40] – [Include Guard] WortingUK
Line 8: Line 8:
  
  
-===== ICSP =====+===== ICSP (In Circuit Serial Programming) ===== 
 + 
 +ICSP is a means whereby embedded microprocessors are 'programmed' (having their machine code loaded) while mounted in the circuit they are intended to control. 
 +There are no standard physical designs/pinouts used for ICSP. \\ 
 +Generally MERG modules, with PIC microprocessors, are provided with a 6 way (1 pin omitted) ICSP connector used with a 'twist' cable to a Microchip PICKIT programmer. 
 +[[:helpsystem:pickit2cbus|MERG PIC ICSP cable pinout shown here.]]\\ 
 +Arduino modules use a USB connection.\\ 
 +AVR ATMEGA chips use a 6 pin connector based on SPI bus. (Optional on Arduino AVR modules)\\ 
 +Atmel SAMD chips have a OneWire ICSP (signal/0v/power). 
  
-In Circuit Serial Programming is a means whereby microprocessors (PICs and other types), may be programmed while mounted in the circuit they are intended to control. There are no standard physical designs/pinouts used for in-circuit programming. Many MERG modules using PIC microprocessors are provided with an ICSP connector with a pinout for the popular PICKIT programmer.\\ 
-[[:helpsystem:pickit2cbus|Pinout shown here.]]\\ 
  
 ===== Incandescent lamps ===== ===== Incandescent lamps =====
Line 23: Line 29:
  
  \\ [[http://www.kpsec.freeuk.com/components/lamp.htm|http://www.kpsec.freeuk.com/components/lamp.htm]]  \\ [[http://www.kpsec.freeuk.com/components/lamp.htm|http://www.kpsec.freeuk.com/components/lamp.htm]]
 +
 +
 +===== Include Guard =====
 +
 +A method of preventing a C or C++ header source file (.h or .hpp), from being included more than once by other files. It uses 'compiler directives' ''#'' to do this.
 +
 +''#ifndef _FILENAME_H_''
 +
 +''#define _FILENAME_H_''
 +
 +''/ contents of the header file go here */''
 +
 +''#endif /* _FILENAME_H_ */''
 +
 +If the compiler supports it, then following can be used
 +
 +''#pragma once''
 +
 +''/ contents of the header file go here */''
 +
  
  
glossary/glossary_i.txt · Last modified: 2023/07/25 15:55 by JohnFletcher

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki