1. copy the Verilog files verilogparser.yverlogscanner.l and the source files to the doxygen-1.7.5\src directory
2. copy the patch file verilog.patch to directory doxygen-1.7.5
3. open a shell in the doxygen-1.7.5 directory
3.2 make patch # patch -p1 -F3 < verilog.patch
3.2 configure doxygen sudo configure
4 compile the source files sudo make all
5 If the compilation was successful create a doxygen configuration file with # doxygen -s -g verilog.cfg
In the configuration file you should see the option OPTIMIZE_OUTPUT_VERILOG.
The file patterns for the Verilog parser are *.v and *.V
--> verilog.cfg 파일이 생성되는데 아래에 cfg 파일 올려놓겠습니다.
You generate a configuration file (see section Configuration) by calling doxygen with the -g option:
doxygen -g <config_file>
You edit the configuration file so it matches your project. In the configuration file you can specify the input files and a lot of optional information.
You let doxygen generate the documentation, based on the settings in the configuration file:
doxygen <config_file>
If you have a configuration file generated with an older version of doxygen, you can upgrade it to the current version by running doxygen with the -u option.
doxygen -u <config_file>
All configuration settings in the original configuration file will be copied to the new configuration file. Any new options will have their default value. Note that comments that you may have added in the original configuration file will be lost.
more file - file의 내용을 출력
head file - file의첫 줄을출력 10
tail file - file의 마지막 줄을 출력 10
tail -f file - file에 추가되는 내용을 출력 마지막 줄 ,10부터 출력함 프로세스 관리
ps 현재 활성화된 프로세스 보여주기 -
top 실행중인 모든 프로세스 보여주기 -
kill pid 프로세스 -id pid를종료
killall proc - proc로시작하는모든프로세스종료
bg 정지되있거나 화면에서 안보이게 실행중인 프로세스 보여 -
주기 정지된 프로세스를 화면에 출력하지 않고 계속 진행하기 ;
fg 화면에 보이지 않게 작동하던 작업 중 최근의 것을 화면에 -
출력하면서 작동시키기
fg n 화면에 보이지 않게 작동하던 작업 중 - n 번째 작업을
화면에 출력하면서 작동시키기 검색 grep pattern files 안의 을 찾기 - file pattern
grep -r pattern dir 디렉토리 안에서 재귀적으로 -dir
찾기 pattern
command | grep pattern 명령의 출력에서 - command
을찾는다 pattern
locate file 파일을 찾음 -
시스템 정보보기
date 현재 날짜와 시각을 출력 -
cal 이번달 달력을 출력 -
uptime 현재 기동시간을 출력 -
w 온라인인 사용자를 출력 -
whoami 어느 사용자로 로그인 하였는지 출력 -
finger user 에관한정보출력 -user
uname -a 커널 정보 출력 -
cat /proc/cpuinfo 정보 출력 - cpu
cat /proc/meminfo 메모리정보출력 -
man command - command에대한매뉴얼출력
df 디스크 사용량 출력 -
du 디렉토리 사용량 출력 -
free 메모리와스왑정보출력 -
whereis app 를실행가능한위치출력 - app
which app 가기본으로실행되는곳을보여줌 -app 압축
tar cf file.tar files 들을 포함한 를 만듬 - files file.tar
tar xf file.tar 을 압축해제 - file.tar
tar czf file.tar.gz files 압축을 사용한 압축 - Gzip
tar zxf file.tar.gz 을 이용해 압축해제 - Gzip
tar cjf file.tar.bz2 압축을 사용한 압축 - Bzip2
tar xjf file.tar.bz2 압축을 사용한 압축해제 - Bzip2
gzip file 을 압축해서 로 이름변경 - file file.gz
gzip -d file.gz 를 로 압축해제 - file.gz fiel 네트워크 ping host 에핑을보내결과출력 -host
whois domain - domain에대한 정보출력 whois
dig domain - domain에 대한 정보를 출력 DNS
dig -x host 호스트까지의 경로를 되찾아가기 - 소스로부터 설치 ./configure
make
make install
프로세스 하드디스크에 저장되어 있는 EXE 파일을 보통 프로그램이라 부른다. 프로그램이 실행되어 동작하고 있으면 이를 프로세스(Process) 혹은 태스크(Task)라고 부른다.
프로ㅔ스를 인스턴스라고 일컫기도 하나, 엄밀하게 말해서 인스턴스는 프로그램이 메모리에 로딩되어 있는 상태를 말하는 것이고, 프로세스는 메모리상에서 실행되고 있는 상태를 말한다.
스레드 윈도우 95와 NT부터는 하나의 프로그램을 하나의 프로세스가 실행하는 것이 아니라 여러개의 프로세슬 나누어 동시에 실행되도록 할수 있게 되었다. 이때, 프로그램의 주 프로세스 외에 주 프로세스와 함께 동시에 실행되는 프로세스들을 스레드라고 부른다.
멀티스레드 프로그램
주 프로세스 외에 하나 이상의 스레드를 가지고 동작하는 프로그램을 멀티스레드 프로그램이라고 한다. 멀티태스킹 시스템이 컴퓨팅 효율을 증가시킬수 있는것과 같이 멀티스레드 프로그램은 프로그램의 동작효율을 향상시킬수 있다.
예를 들어, 맞춤법 검사 기능을 가지고 있는 워드프로세서 프로그램을 생각해 보자. 사용자가타이핑을 하면 사용자의 입력을 받는 기능을 수행해야 하며, 맞춤법 검사도 해야 한다. 이러한 기능을 하나의 프로세스로 구현하면, 프로세스가 맞춤법 검사를 하는 동안은 사용자의 입력을 받는 동작을 할 수 없기 때문에 프로그램이 사용자의 입력에 즉각적으로 반응하지 못할 수 있다. 이런 프로그램을 사용한다면 매우 답답할것이다.
이럴경우 멀티스레드 기술을 이용하여 프로그램을 작성하면 좋다. 사용자의 입력을 받는 기능을 주 프로세스에 구현하고, 맞춤법 검사를 하는 것은 스레드로 만들면 주 프로세스와 스레드가 동시에 동작을 하기 때문에 맞춤법 검사를 하느라고 사용자의 입력에 응답을 못하는 일은 생기지 않는다.
이와같이 프로그램에서 한가지 이상의 일을 동시에 수행해야 할때, 단일 프로세스로 프로그래을 구현하는 것보다 멀티스레드로 구현하면 프로그램을 훨씬 부드럽게 동작하도록 할 수 있다.
멀티스레드 기술을 사용하지 않고, 단일 프로세스만을 사용해도 모든 프로그램을 다 만들 수 있다. 즉, 멀티스레드를 쓰지 않고는 구현이 불가능한, 그럼일은 거의 없다.
그러나 하나의 프로그램에서 두 가지 이상의 기능을 동시에 수행해야 하는 경우, 멀티스레드를 적절히 사용하면 프로그램이 놀랄만큼 부드럽게 동작한다. 또한 자칫 프로그램이 먹통이 되어 버릴 수 있는, 복잡한 기능을 수행하는 와중에도 사용자의 응답에 즉각적으로 반응하는 환상적인 프로그램을 만들 수가 있다.
커플링 콘덴서는 보통증폭기와 증폭기 사이에 위치하여 직류를 cut 시키고, 교류만 통과시켜주는 역활을 합니다.
이경우는 저역차단주파수에 의해 선정됩니다. 즉 다음단 증폭회로의 입력임피던스가 10k이라 가정하고, 저역차단주파수가 20hz라고 가정하면 f = 1/2πRC 값으로 C값을 정해줍니다. 여기서 20hz차단주파수라고 해서 20hz에 딱 맞추기 보다는 다소 여유있고, 5~10hz이하로 넉넉하게 계산해주는 것이 보통인데, 왜야 하면 전해콘덴서의 경우 온도가 내려가면 용량이 감소하는 특성이 있기 때문입니다.
그리고 bypass 콘덴서는 전원단의 +,- 에 연결하여 전원 line으로 흐르는 노이즈를 제거할 목적으로 주로 사용하는데, 이경우는 한마디로 다다익선입니다. 말그대로 용량이 높을수록 노이즈제거율이 높아지므로 가능한 높은 용량을 사용하는 것이 좋지만 전해콘덴서는 주파수 특성이 나빠 아무리 높은 용량을 사용해도 고주파 노이즈는 제거하지 못합니다. 그리고 고주파 특성은 용량이 높은 한개의 콘덴서보다 용량이 작은 여러개의 콘덴서는 병렬로 사용하는 편이 훨씬 좋습니다. 그렇기 때문에 pcb가 넓은 경우는 용량이 높은 콘덴서는 1~2개정도로 해결하고, 중간중간에 고주파 특성이 좋은 세라믹이나 멀티레이콘덴서를 넣어줍니다. LOGIC의 경우 각 IC마다 하나씩 넣어주는 것이 좋습니다.
하지만 이런것은 이론이나 계산만으로는 잘 안됩니다. 실제 실장을 하고 난뒤 각단에 전원line등을 측정하여 노이즈레벨이나, EMI 등을 측정해가면서 CUT & TRY를 하는 것이 보통입니다.
스택이란 여러 개의 데이타 항목들이 일정한 순서로 나열된 자료 구조로 한쪽 끝에서만 새로운 항목을 삽입하거나 기존 항목을 삭제할 수 있도록 고안된 것이다. 스택은 동전을 넣고 뺄 수 있도록 되어 있는 동전 케이스와 같은 작동 원리를 가지고 있다. 삽입된 동전들은 케이스 내부에 일정한 순서로 저장된다. 먼저 삽입된 동전은 케이스의 가장 아래쪽에 위치하고 가장 최근에 삽입된동전은 입구에 놓인다. 스택에 저장된 데이타 항목들 중에 먼저 삽입된 것은 나중에 삭제되고, 나중에 삽입된 것이 먼저 삭제된다. 그래서 스택을 후입 선출 리스트Last- In-First-Out List)라고 부른다. 선입 선출법을 사용하는 큐와는 상반된 성질을 가진다.
스택은 기저(base)로부터 데이타 항목들을 차례로 쌓아올린 모양을 가진다.
삽입과 삭제는 현재 저장된 최상위 항목이 위치한 top 에서만 일어난다.
top 위치는 "스택 포인터"라는 지시자가 가리킨다.
스택 포인터는 스택 기저에서 시작하여 항목이 삽입되면 하나 증가하고,
삭제되면 하나 감소한다. 스택에는 한계가 있어서 그 한계를 초과하도록 삽입할 수 없다.
heap
프로그램의 실행 도중에 요구되는 기억 장소를 할당하기 위하여 운영 체제에 예약되어 있는 기억 장소 영역. 프로그램에서 실행 도중에 자료를 저장하기 위하여 기억 장소를 요청하게 되면 운영 체제에서는 힙에 존재하는 기억 장소를 프로그램에 할당한다. 그리고 프로그램에서 기억 장치를 더 이상 필요로 하지 않는 경우에는 앞에서 할당 받았던 기억 장소를 운영체제에 반납하게 되는데, 이때 운영체제에서는 반납된 기억 장소를 다시 힙에 연결하게 된다. 힙에 대한 기억 장소는 포인터를 통해 동적으로 할당되거나 반환이 되는데 연결 리스트, 트리, 그래프 등과 같이 동적인 특성을 가지고 있는 자료구조에서 널리 사용된다.
힙은 프로그램이 실행될 때까지 알 수 없는 가변적인 양만큼의 데이터를 저장하기 위해 프로그램의 프로세스가 사용할 수 있도록 미리 예약되어 있는 메인 메모리의 영역이다. 예를들면 하나의 프로그램은 처리를 위해 한명 이상의 사용자로부터 서로 다른 양의 입력을 받을 수 있으며 즉시 모든 입력데이터에 대해 처리를 시작한다. 운영체계로부터 이미 확보된 일정량의 힙 저장공간을 가지고 있으면 저장과 관련된 처리를 좀 더 쉽게 할 수 있으며 일반적으로 필요할 때마다 운영체계의 운영체계에게 매번 저장공간을 요청하는 것보다 빠르게 된다. 프로세스는 필요할 때 heap 블록을 요구하고 더 이상 필요 없을 때 반환하며 이따금씩 자투리 모으기를 수행함으로써 자신에게 할당된 heap을 관리하기도 한다. 여기서 자투리 모으기란 더 이상 사용되지 않는 블록들을 사용 가능한 상태로 만들고 또한 heap 내의 사용 가능한 공간을 인지함으로써 사용되지 않은 작은 조각들이 낭비되지 않도록 하는 것을 말한다.
힙이란 컴퓨터의 기억 장소에서 그 일부분이 프로그램들에 할당되었다가 회수되는 작용이 되풀이 되는 영역이다. 스택영역은 엄격하게 후입선출(LIFO)방식으로 운영되는데 비해 힙은 프로그램들이 요구하는 블록의 크기나 요구/횟수 순서가 일정한 규칙이 없다는 점이 다르다. 대개 힙의 기억장소는 포인터변수를 통해 동적으로 할당받고 돌려준다. 이는 연결 목록이나 나무, 그래프 등의 동적인 자료 구조를 만드는데 꼭 필요한 것이다.
그럼 힙 메모리를 프로그램을 사용할 수 있는 자유메모리라고 할 수 있다.프로그램 실행 시에 함수로 내는 데이터 등을 일시적으로 보관해 두는 소량의 메모리와 필요시 언제나 사용할 수 있는 대량의 메모리가 있다. 이때, 소량의 메모리를 ‘스택’이라 하고 대량의 메모리를 ‘힙’ 이라고 한다. 이 ‘힙’이 없어지면 메모리 부족으로 ‘이상종료’를 하게 된다.
프로세스에 exe 이미지가 로드되고, 할당되고, 이것저것 필요한 동적 라이브러리가 로드되고 사용되지 않는 미사용 구간이 있는 것은 분명한데 그 미사용 영역이 ‘힙’이라고 한다. 프로그램을 짤 때 new나 malloc()함수를 이용한 동적 할당을 하게 되면 힙 영역이 사용 가능하도록 되는 것이다. 필요한 메모리 사이즈만큼 OS에게 할당해 달라고 부탁할 수도 있으며, 사용을 다 했으면 다시 OS에게 넘겨줘야한다.
heap은 프로그램이 실행될 때까지는 알 수 없는 가변적인 량만큼의 데이터를 저장하기 위해, 프로그램의 프로세스가 사용할 수 있도록 미리 예약되어 있는 메인 메모리의 영역이다. 예를 들면, 하나의 프로그램은 처리를 위해 한 명 이상의 사용자로부터 서로 다른 량의 입력을 받을 수 있으며, 즉시 모든 입력데이터에 대해 처리를 개시한다. 운영체계로부터 이미 확보된 일정량의 heap 저장공간을 가지고 있으면, 저장과 관련된 처리를 좀더 쉽게 할 수 있으며, 일반적으로 필요할 때마다 운영체계에게 매번 저장공간을 요청하는 것보다 빠르다. 프로세스는 필요할 때 heap 블록을 요구하고, 더 이상 필요 없을 때 반환하며, 이따금씩 "자투리모으기"를 수행함으로써 자신에게 할당된 heap을 관리한다. 여기서 자투리모으기란 더 이상 사용되지 않는 블록들을 사용 가능한 상태로 만들고, 또한 heap 내의 사용 가능한 공간을 인지함으로써 사용되지 않은 작은 조각들이 낭비되지 않도록 하는 것을 말한다.
이 용어는 분명히 다른 용어인 스택(stack)의 영향을 받았다. 스택은 블록들이 저장공간으로부터 어떤 순서에 입각하여 꺼내어지고, 또 같은 방법으로 반환된다는 것을 제외하고는 heap과 비슷하다. 파스칼에서는, subheap은 스택처럼 취급되는 heap의 일부분이다.
c언어에서 heap에 메모리를 할당할 때는 memory allocation--> malloc()을 사용한다.
The Speex designers see their project as complementary to the Vorbis general-purpose audio compression project.
Speex is a lossy format, meaning quality is permanently degraded to reduce file size.
The Speex project was created on February 13, 2002.[7] The first development versions of Speex were released under LGPL license, but as of version 1.0 beta 1, Speex is released under Xiph's version of the (revised) BSD license.[8] Speex 1.0 was announced on March 24, 2003, after a year of development.[9] The last stable version of Speex encoder and decoder is 1.1.12.[2]
Description
Unlike many other speech codecs, Speex is not targeted at cellular telephony but rather at Voice over IP (VoIP) and file-based compression. The design goals have been to make a codec that would be optimized for high quality speech and low bit rate. To achieve this the codec uses multiple bit rates, and supports ultra-wideband (32 kHzsampling rate), wideband (16 kHz sampling rate) and narrowband (telephone quality, 8 kHz sampling rate). Since Speex was designed for Voice over IP (VoIP) instead of cell phone use, the codec must be robust to lost packets, but not to corrupted ones. All this led to the choice of Code Excited Linear Prediction (CELP) as the encoding technique to use for Speex.[6] One of the main reasons is that CELP has long proven that it could do the job and scale well to both low bit rates (as evidenced by DoD CELP @ 4.8 kbit/s) and high bit rates (as with G.728 @ 16 kbit/s). The main characteristics can be summarized as follows:
Speex is mainly designed for three different sampling rates: 8 kHz (the same sampling rate to transmit telephone calls), 16 kHz, and 32 kHz. These are respectively referred to as narrowband, wideband and ultra-wideband.
Quality
Speex encoding is controlled most of the time by a quality parameter that ranges from 0 to 10. In constant bit-rate (CBR) operation, the quality parameter is an integer, while for variable bit-rate (VBR), the parameter is a real (floating point) number.
Complexity (variable)
With Speex, it is possible to vary the complexity allowed for the encoder. This is done by controlling how the search is performed with an integer ranging from 1 to 10 in a way similar to the -1 to -9 options to gzipcompression utilities. For normal use, the noise level at complexity 1 is between 1 and 2 dB higher than at complexity 10, but the CPU requirements for complexity 10 is about five times higher than for complexity 1. In practice, the best trade-off is between complexity 2 and 4[10], though higher settings are often useful when encoding non-speech sounds like DTMF tones, or if encoding is not in real-time.
Variable bit-rate (VBR) allows a codec to change its bit rate dynamically to adapt to the "difficulty" of the audio being encoded. In the example of Speex, sounds like vowels and high-energy transients require a higher bit rate to achieve good quality, while fricatives (e.g. s and f sounds) can be coded adequately with fewer bits. For this reason, VBR can achieve lower bit rate for the same quality, or a better quality for a certain bit rate. Despite its advantages, VBR has three main drawbacks: first, by only specifying quality, there is no guarantee about the final average bit-rate. Second, for some real-time applications like voice over IP (VoIP), what counts is the maximum bit-rate, which must be low enough for the communication channel. Third, encryption of VBR-encoded speech may not ensure complete privacy, as phrases can still be identified, at least in a controlled setting with a small dictionary of phrases[11], by analysing the pattern of variation of the bit rate.
Average Bit-Rate (ABR)
Average bit-rate solves one of the problems of VBR, as it dynamically adjusts VBR quality in order to meet a specific target bit-rate. Because the quality/bit-rate is adjusted in real-time (open-loop), the global quality will be slightly lower than that obtained by encoding in VBR with exactly the right quality setting to meet the target average bitrate.
Voice Activity Detection (VAD)
When enabled, voice activity detection detects whether the audio being encoded is speech or silence/background noise. VAD is always implicitly activated when encoding in VBR, so the option is only useful in non-VBR operation. In this case, Speex detects non-speech periods and encodes them with just enough bits to reproduce the background noise. This is called "comfort noise generation" (CNG). Last version VAD was working fine is 1.1.12, since v 2.1 it has been replaced with simple Any Activity Detection.
Discontinuous Transmission (DTX)
Discontinuous transmission is an addition to VAD/VBR operation, that allows to stop transmitting completely when the background noise is stationary. In a file, 5 bits are used for each missing frame (corresponding to 250 bit/s).
Perceptual enhancement
Perceptual enhancement is a part of the decoder which, when turned on, tries to reduce (the perception of) the noise produced by the coding/decoding process. In most cases, perceptual enhancement makes the sound further from the original objectively (signal-to-noise ratio), but in the end it still sounds better (subjective improvement).
Algorithmic delay
Every codec introduces a delay in the transmission. For Speex, this delay is equal to the frame size, plus some amount of "look-ahead" required to process each frame. In narrowband operation (8 kHz), the delay is 30 ms, while for wideband (16 kHz), the delay is 34 ms. These values don't account for the CPU time it takes to encode or decode the frames.
I2C/SPI 방식으로 제어하며, 다음과같이 세가지 케이스로 쓰일수 있다. UART 포트가 부족하다거나, GPIO가 부족한 경우 유용할듯~! 그나저나 RS-485 레지스터 셋팅을 우째하노 ㅠ_ㅠ
(Application Note에 다 나와있음ㅋㅋ 이걸 이제서야 적네;;)
NXP bridge portfolio includes versatile products that allow a host having an I2C or SPI bus to easily add UART, IrDA, and GPIO interfaces. Our high-speed, low-power bridges improve design flexibility while freeing host processor resources. With the additional UART, IrDA, and GPIO interfaces, you can build systems with advanced communication capabilities. System expansion possibilities include connecting to remote systems, docking cradles, and infrared remote controls while detecting/controlling push buttons/keypads, LEDs, and fans.
Our bridges have selectable I2C or SPI slave interfaces to the host system. The 2-wire I2C-bus interface supports speeds up to 400KHz. Support for speeds up to 15Mbps are available for the 4-wire SPI-bus interface. These products can have multiple UARTs which are IrDA-capable. The UARTs operate at speeds up to 5Mbps and have 64-bype FIFOs, automatic hardware flow control, automatic software flow control with programmable XON/XOFF, and have an automatic RS-485 mode suitable for multi-drop applications. When configured as IrDA, they support SIR speeds of 115.2Kbps and higher. Products with GPIOs have change-of-state detection. The GPIOs can also be configured for modem control.
These products operate at 2.5V or 3.3V and come in TSSOP and ultra-small HVQFN packages. In sleep mode, they typically consume less than 30uA. The bridges can be used in industrial applications with a temperature range of -40 to +85 °C.
Remote/Local Serial Communication
An I2C/SPI slave bridge to UART interface allows you to network similar systems and remote servers. Using the UART's automatic RS-485 mode, communication can extend to 1 kilometer. When used in combination with GPIOs configured for modem control, communication distances over telco lines can be unlimited.
The UART interface also allows you to connect local serial devices including docking stations and cradles. Note that, depending on the voltage levels used by the remote devices and the drive current needed, line drivers or transceivers may be required.
Wireless Infrared Communication
By using the UART in IrDA mode, you can bridge communication to infrared-capable devices including remote controls, mobile/cellular phones, PDAs, and other personal electronics by way of an infrared transceiver.
GPIO Device Communication
Many of our I2C/SPI slave bridges also include GPIO pins. A host's existing I2C/SPI bus can conveniently be used to detect push button presses, control panel input, and system resets. The GPIOs can be used to easily control status LEDs, fans, and other external devices.
데이터를 전송 또는 수신할때, 필수적으로 따라다니는 두가지 요소가 있다. 물론 더 많은 요소가 있지만, 이 두가지 요소는 없어서는 안되는 요소입니다. 바로
- Error control : error control은 말그대로 전송되는 데이터에 에러가 발생하여 값이 변질되어 전송되었는지를 확인하기 위해서 사용하는 여러가지 기술...
- Flow control : 데이터를 주고 받는 상대편이 받을 준비가 되어 있는지를 판단하여 데이터 전송 흐름을 더욱 원활하게 하기 위한 기술...
Flow control은 두가지 방법이 있는데,
1. 소프트웨어적 방법인 Software Handshaking(XON/XOFF)과
2. 하드웨어적인 방법인 Hardware Handshaking(CTS/RTS)이 있다.
이 두가지 중에는 일반적으로 하드웨어적 방법이 많이 사용된다. (RTS : Ready to Send, CTS : Clear to Send, Xon : Transmit On, Xoff : Transmit Off)
Xon/Xoff(때로는 X-on/X-off 또는 XON/XOFF라고 표기하기도 한다)는 컴퓨터와 비동기 직렬 접속되어 있는 다른 장치들 간에 데이터 흐름을 제어하기 위한 프로토콜이다.
예를 들어, 컴퓨터는 보통 프린터가 찍을 수 있는 것보다 더 빠르게 데이터를 전송한다. 프린터는 프린터가 컴퓨터의 속도를 따라잡을 수 있을 때까지 데이터를 임시 저장하기 위한 버퍼를 가지고 있다. 만약 프린터가 컴퓨터의 전송속도를 따라잡기 전에 버퍼가 꽉 차게되면, 프린터 내의 작은 마이크로프로세서가 데이터 전송을 중지하라는 신호인 Xoff 신호를 컴퓨터에 보낸다. 그 후 데이터가 충분히 인쇄되고 버퍼의 저장공간에 여유가 생기면, 프린터는 컴퓨터에게 데이터 전송을 다시 재개하라는 의미로 Xon 신호를 보낸다.
여기서 "X"는 "transmitter"의 약자이므로, Xon 또는 Xoff 신호는 transmitter(송신장치)를 켜거나 끄기 위한 것이다. Xon의 실제 신호는 아스키의 Ctrl-Q의 비트 구성과 같으며, Xoff는 Ctrl-S와 같다. 대개 모뎀을 자신의 컴퓨터에 설치할 때, 데이터 흐름제어를 Xon/Xoff로 할 것인지, 또는 CTS/RTS 방식으로 할 것인지를 설정하게 된다. 바이너리 데이터를 보낼 때, Xon/Xoff는 부호화된 글자이므로 인식되지 않을 수도 있다.
1) XIN - XOUT : Low Frequency clock을 다는 곳으로 저전력 모드로 동작시키기 위한 것입니다. 단 클럭이 느리니까 저성능입니다.
2) XT2IN - XT2OUT : High Frequency clock을 다는 곳으로 고성능 모드로 동작시키기 위한 것입니다. 단 클럭이 빠르니까 전력 소모가 큽니다.
3) DCO : 내부에서 클럭을 생성하는 것입니다.
* 위의 Oscillator 블럭을 보시면 Oscillator 블럭의 출력을 MCLK, ACLK, SMCLK 클럭이 있습니다. 즉 하나의 오실레이터에서 ACLK, SMCLK, MCLK를 만들어 각 블럭에 서로 다른 클럭을 줄 수 있다는 것을 말합니다. MCLK는 CPU의 클럭으로만 사용이 됩니다. ACLK과 SMCLK는 다른 서브시스템의 클럭으로 사용됩니다. Tmote를 예로들면 32.768KHz는 ACLK에, DCO로부터의 4MHz는 MCLK에, 이것을 4분주한 1MHz는 SMCLK에 연결이 되어 사용이 됩니다. 그래서 TimerB는 ACLK을 이용하고 TimerA는 SMCLK를 이용합니다.
2. MSP430은 16BIT RISC 구조의 MCU 입니다.
3. 8채널의 12bit ADC가 있습니다. 이것은 설정을 통해 10bit으로 사용할 수도 있습니다. 이 중 2개의 port는 DAC로 설정하여 사용할 수 있습니다.
4. Timer는 TimerA와 TimerB 2가지가 있습니다. TimerA는 3개의 CC 레지스터가 있고, TimerB는 7개가 있습니다. 실제적 Timer는 2개이지만 여러개의 CC 레지스터가 있기 때문에 여러 개의 Timer의 효과를 낼 수가 있습니다.
5. 2개의 USART가 있스니다. USART0는 UART, SPI, I2C로 동작시킬 수 있고, USART1은 UART, SPI 모드로 동작시킬 수 있습니다.
6. 6개의 8BIT 포트가 있습니다. 이중 PORT1과 PORT2는 Interrupt를 지원합니다. PORT3 ~ PORT6은 Interrupt를 지원하지 않습니다.
7. 그 외에도 하드웨어 멀티플라이어, DMA 컨트롤러, Watch Dog 타이머 등이 있습니다.
위의 그림은 PIN의 기능을 나타낸 것입니다.
예륻들어 핀을 설명해보면 49번핀은 P5.5/SMCLK 라고 되어 있습니다. 모든 핀은 일반 PIO로 즉 단순 입출력 모드로 사용할 수 있습니다. 그것을 나타내는 것이 P5.5와 같이 단순히 나타낸 핀의 포트번호와 포트내핀번호 입니다. 함께 붙어있는 SMCLK라는 것은 핀의 단순 PIO기능이 아니라 내부의 하드웨어와 연관된 기능을 나타내는 것으로 즉 MOD Function을 나타냅니다. P5.5는 SMCLK라고 붙어 있는데 이것은 datasheet를 살펴보시면 SMCLK의 출력 기능을 나타낸다는 것입니다.