¿Ü±¹µµ¼
°æÁ¦°æ¿µ/Àι®»çȸ
±³À°/Ư¼ö±³À°
2013³â 9¿ù 9ÀÏ ÀÌÈÄ ´©Àû¼öÄ¡ÀÔ´Ï´Ù.
Á¤°¡ |
20,000¿ø |
---|
20,000¿ø
600P (3%Àû¸³)
ÇÒÀÎÇýÅÃ | |
---|---|
Àû¸³ÇýÅà |
|
|
|
Ãß°¡ÇýÅÃ |
|
À̺¥Æ®/±âȹÀü
¿¬°üµµ¼
»óÇ°±Ç
ÀÌ»óÇ°ÀÇ ºÐ·ù
¸ñÂ÷
Preface | p. xiii |
Introduction | p. xxi |
Embedded C Language Tutorial | |
Objectives | p. 1 |
Introduction | p. 1 |
Beginning Concepts | p. 2 |
Variables and Constants | p. 4 |
Variable Types | p. 4 |
Variable Scope | p. 5 |
Local Variables | p. 5 |
Global Variables | p. 5 |
Constants | p. 6 |
Numeric Constants | p. 7 |
Character Constants | p. 7 |
Enumerations and Definitions | p. 7 |
Storage Classes | p. 9 |
Automatic | p. 9 |
Static | p. 9 |
Register | p. 9 |
Type Casting | p. 9 |
I/O Operations | p. 11 |
Operators and Expressions | p. 12 |
Assignment and Arithmetic Operators | p. 12 |
Bitwise Operators | p. 13 |
Logical and Relational Operators | p. 14 |
Logical Operators | p. 15 |
Relational Operators | p. 15 |
Increment, Decrement, and Compound Assignment | p. 16 |
Increment Operators | p. 16 |
Decrement Operators | p. 17 |
Compound Assignment Operators | p. 17 |
The Conditional Expression | p. 17 |
Operator Precedence | p. 18 |
Control Statements | p. 19 |
While Loop | p. 19 |
Do/While Loop | p. 21 |
For Loop | p. 22 |
If/Else | p. 23 |
If Statement | p. 23 |
If/Else Statement | p. 23 |
Conditional Expression | p. 26 |
Switch/Case | p. 26 |
Break, Continue, and Goto | p. 28 |
Break | p. 28 |
Continue | p. 28 |
Goto | p. 29 |
Functions | p. 33 |
Prototyping and Function Organization | p. 34 |
Functions that Return Values | p. 36 |
Recursion | p. 37 |
Pointers and Arrays | p. 41 |
Pointers | p. 41 |
Arrays | p. 45 |
Multidimensional Arrays | p. 47 |
Pointers to Functions | p. 49 |
Structures and Unions | p. 54 |
Structures | p. 54 |
Arrays of Structures | p. 56 |
Pointers to Structures | p. 57 |
Unions | p. 58 |
Typedef Operator | p. 60 |
Bits and Bitfields | p. 61 |
Sizeof Operator | p. 62 |
Memory Types | p. 63 |
Constants and Variables | p. 63 |
Pointers | p. 65 |
Register Variables | p. 65 |
sfrb and sfrw | p. 66 |
Real-Time Methods | p. 69 |
Using Interrupts | p. 69 |
Real-Time Executives | p. 72 |
State Machines | p. 75 |
Programming Style, Standards, and Guidelines | p. 80 |
Chapter Summary | p. 81 |
Exercises | p. 81 |
Laboratory Activities | p. 83 |
The Atmel Risc Processors | |
Objectives | p. 87 |
Introduction | p. 87 |
Architectural Overview | p. 88 |
Memory | p. 89 |
Flash Code Memory | p. 89 |
Data Memory | p. 89 |
Registers | p. 90 |
I/O Registers | p. 90 |
SRAM | p. 92 |
Eeprom Memory | p. 94 |
Reset and Interrupt Functions | p. 97 |
Interrupts | p. 98 |
Reset | p. 101 |
Watchdog Timer and Reset | p. 102 |
Parallel I/O Ports | p. 105 |
Timer/Counters | p. 109 |
Timer/Counter Prescalers and Input Selectors | p. 110 |
Timer 0 | p. 110 |
Timer 1 | p. 114 |
Timer 1 Prescaler and Selector | p. 115 |
Timer 1 Input Capture Mode | p. 115 |
Timer 1 Output Compare Mode | p. 119 |
Timer 1 Pulse Width Modulator Mode | p. 123 |
Timer 2 | p. 128 |
One-second recording interval using Timer 0 | p. 129 |
Engine rpm measurement using Timer 1 | p. 130 |
Drive shaft rpm measurement using Timer 1 | p. 131 |
Serial Communication Using the Usart | p. 132 |
Analog Interfaces | p. 141 |
Analog-to-Digital Background | p. 141 |
Analog-to-Digital Converter Peripheral | p. 142 |
Analog Comparator Peripheral | p. 146 |
Measuring engine temperature using the analog-to-digital converter (ADC) | p. 149 |
Sending collected data to the PC | p. 150 |
Serial Communication Using the SPI | p. 151 |
Serial Communication Using I[superscript 2]C | p. 158 |
The Avr Risc Assembly Language Instruction Set | p. 160 |
Chapter Summary | p. 163 |
Exercises | p. 167 |
Laboratory Activities | p. 168 |
Standard I/O and Preprocessor Functions | |
Objectives | p. 171 |
Introduction | p. 171 |
Character Input/Output Functions - getchar() and putchar() | p. 172 |
Standard Output Functions | p. 178 |
Put String-puts() | p. 178 |
Put String FLASH-putsf() | p. 179 |
Print Formatted-printf() | p. 180 |
String Print Formatted-sprintf() | p. 182 |
Standard Input Functions | p. 183 |
Get String-gets() | p. 184 |
Scan Formatted-scanf() | p. 185 |
Scan String Formatted-sscanf() | p. 187 |
Preprocessor Directives | p. 188 |
The #include Directive | p. 188 |
The #define Directive | p. 189 |
The #ifdef, #ifndef, #else, and #endif Directives | p. 191 |
The #pragma Directive | p. 196 |
#pragma warn | p. 197 |
#pragma opt | p. 197 |
#pragma optsize | p. 197 |
#pragma savereg | p. 198 |
#pragma regalloc | p. 199 |
#pragma promotechar | p. 199 |
#pragma uchar | p. 199 |
#pragma library | p. 200 |
Other Macross and Directives | p. 200 |
Chapter Summary | p. 201 |
Exercises | p. 202 |
Laboratory Activities | p. 202 |
The Codevisionavr C Compiler and IDE | |
Objectives | p. 205 |
Introduction | p. 205 |
IDE Operation | p. 206 |
Projects | p. 206 |
Open Existing Projects | p. 206 |
Create New Projects | p. 207 |
Configure Projects | p. 208 |
Close Project | p. 209 |
Source Files | p. 209 |
Open an Existing Source File | p. 209 |
Create a New Source File | p. 209 |
Add an Existing File to the Project | p. 209 |
Edit Files | p. 211 |
Print Files | p. 214 |
The File Navigator | p. 214 |
C Compiler Options | p. 216 |
Memory Model | p. 217 |
Optimize For | p. 218 |
Optimization Level | p. 218 |
Program Type | p. 218 |
(s)printf Features and (s)scanf Features | p. 218 |
SRAM | p. 219 |
Compilation | p. 219 |
Messages Tab | p. 220 |
Compile and Make Projects | p. 220 |
Compile a Project | p. 220 |
Make a Project | p. 221 |
Program the Target Device | p. 222 |
Chip | p. 223 |
FLASH and EEPROM | p. 224 |
FLASH Lock Bits | p. 226 |
Fuse Bits | p. 226 |
Boot Lock Bit 0 and Boot Lock Bit I | p. 226 |
Signature | p. 226 |
Chip Erase | p. 227 |
Programming Speed | p. 227 |
Program All | p. 227 |
Other Programmers | p. 228 |
Codewizardavr Code Generator | p. 229 |
Chip Tab | p. 232 |
Ports Tab | p. 233 |
External IRQ Tab | p. 234 |
Timers Tab | p. 235 |
USART Tab | p. 236 |
ADC Tab | p. 237 |
Project Information Tab | p. 238 |
Generate Source Code | p. 239 |
Terminal Tool | p. 247 |
The Atmel AVR Studio Debugger | p. 249 |
Create a COFF File for AVR Studio | p. 250 |
Launch AVR Studio from CodeVisionAVR | p. 250 |
Open a File for Debug | p. 250 |
Start, Stop, and Step | p. 250 |
Set and Clear Breakpoints | p. 251 |
View and Modify Registers and Variables | p. 252 |
View and Modify the Machine State | p. 252 |
Chapter Summary | p. 253 |
Exercises | p. 253 |
Laboratory Activities | p. 255 |
Project Development | |
Objectives | p. 257 |
Introduction | p. 257 |
Concept Development Phase | p. 257 |
Project Development Process Steps | p. 257 |
Definition Phase | p. 258 |
Design Phase | p. 260 |
Test Definition Phase | p. 261 |
Build and Test the Prototype Hardware Phase | p. 262 |
System Integration and Software Development Phase | p. 262 |
System Test Phase | p. 263 |
Celebration Phase | p. 263 |
Project Development Process Summary | p. 263 |
Example Project: A Weather Monitor | p. 263 |
Concept Phase | p. 263 |
Definition Phase | p. 264 |
Electrical Specification | p. 266 |
Operational Specification | p. 266 |
Basic Block Diagrams | p. 267 |
Measurement Considerations for the Design | p. 269 |
Temperature | p. 270 |
Barometric Pressure | p. 272 |
Humidity | p. 273 |
Wind Speed | p. 274 |
Wind Direction | p. 277 |
Rainfall | p. 278 |
Dew Point Computation | p. 281 |
Wind Chill Computation | p. 282 |
Battery Health | p. 283 |
Real Time | p. 283 |
Hardware Design, Outdoor Unit | p. 284 |
Wind Speed Input | p. 284 |
Rain Gauge Input | p. 286 |
900 MHz Transmitter | p. 286 |
Power Supply | p. 286 |
Software Design, Outdoor Unit | p. 286 |
Hardware Design, Indoor Unit | p. 287 |
900 MHz Receiver | p. 287 |
Power Supply | p. 290 |
Software Design, Indoor Unit | p. 290 |
Test Definition Phase | p. 292 |
Wind Direction | p. 293 |
Wind Speed | p. 293 |
Rain Gauge | p. 293 |
Air Temperature | p. 293 |
Barometric Pressure | p. 294 |
Relative Humidity | p. 294 |
System Test for Complete Project | p. 294 |
Build and Test Prototype Hardware Phase | p. 294 |
Outdoor Unit Checkout | p. 295 |
Indoor Unit Checkout | p. 297 |
System Integration and Software Development Phase, Outdoor Unit | p. 301 |
Temperature, Humidity, Wind Direction, and Battery Health | p. 305 |
Rainfall | p. 305 |
Wind Speed | p. 306 |
RF Telemetry | p. 306 |
System Integration and Software Development Phase, Indoor Unit | p. 312 |
Keeping Time | p. 312 |
Low-Battery Indication | p. 314 |
The Buttons and the Beeper | p. 316 |
Decoding the RF Telemetry | p. 318 |
Collecting and Protecting Rainfall Data | p. 321 |
Converting from Counts to Real Units | p. 324 |
Routines for Controlling the LCD | p. 325 |
Keeping the Display Up to Date | p. 331 |
Editing the Time and Date | p. 335 |
System Test Phase | p. 339 |
Changing It Up | p. 343 |
Picking a Part for a Better Fit | p. 343 |
Changes to the Schematic | p. 344 |
Changes to I/O Mapping | p. 344 |
Other Considerations | p. 348 |
Challenges | p. 349 |
Chapter Summary | p. 350 |
Exercises | p. 350 |
Laboratory Activity | p. 351 |
Library Functions Reference | p. 353 |
Getting Started with Codevisionavr and the STK500 | p. 453 |
Programming the AVR Microcontrollers | p. 471 |
Installing and Using Thecableavr | p. 475 |
The Megaavr-DEV Development Board | p. 489 |
Ascii Table | p. 493 |
AVR Instruction Set Summary | p. 497 |
Answers to Selected Exercises | p. 503 |
A "Fast Start" To Embedded C Programming and the AVR | p. 509 |
Index | p. 519 |
Table of Contents provided by Ingram. All Rights Reserved. |
Ã¥¼Ò°³
Enter the world of embedded programming and microcontroller applications! One of the only books available today that uses the increasingly popular and cost-effective Atmel AVR embedded controller as the platform and application for learning, Embedded C Programming and the Atmel AVR, 2E is the perfect choice for novices. Featuring a host of fully-functional example applications, this highly innovative book enables users to adopt a "learn by doing" approach as they develop the knowledge and skills needed to achieve proficiency. Following an introduction to Atmel AVR RISC processors, readers are launched immediately into an embedded C language tutorial. Here, they'll experiment with variables and constants, operators and expressions, control statements, pointers and arrays, memory types, preprocessor directives, real-time methods, and more! In addition to a comprehensive library functions reference, an entire chapter on the CodeVision AVR C Compiler provides clear, step-by-step instruction in IDE installation and operation, mixing Assembler with C, and using the Code Wizard Code Generator. Use of peripherals ? such as keypads, LCD displays, and other common embedded microcontroller-related devices ? is also explored fully in this all-inclusive, state-of-the-art programmer's how-to and reference manual.
ÀúÀÚ¼Ò°³
»ý³â¿ùÀÏ | - |
---|
ÇØ´çÀÛ°¡¿¡ ´ëÇÑ ¼Ò°³°¡ ¾ø½À´Ï´Ù.
ÁÖ°£·©Å·
´õº¸±â»óÇ°Á¤º¸Á¦°ø°í½Ã
À̺¥Æ® ±âȹÀü
°æÁ¦°æ¿µ/Àι®»çȸ ºÐ¾ß¿¡¼ ¸¹Àº ȸ¿øÀÌ ±¸¸ÅÇÑ Ã¥
ÆǸÅÀÚÁ¤º¸
»óÈ£ |
(ÁÖ)±³º¸¹®°í |
---|---|
´ëÇ¥ÀÚ¸í |
¾Èº´Çö |
»ç¾÷ÀÚµî·Ï¹øÈ£ |
102-81-11670 |
¿¬¶ôó |
1544-1900 |
ÀüÀÚ¿ìÆíÁÖ¼Ò |
callcenter@kyobobook.co.kr |
Åë½ÅÆǸž÷½Å°í¹øÈ£ |
01-0653 |
¿µ¾÷¼ÒÀçÁö |
¼¿ïƯº°½Ã Á¾·Î±¸ Á¾·Î 1(Á¾·Î1°¡,±³º¸ºôµù) |
±³È¯/ȯºÒ
¹ÝÇ°/±³È¯ ¹æ¹ý |
¡®¸¶ÀÌÆäÀÌÁö > Ãë¼Ò/¹ÝÇ°/±³È¯/ȯºÒ¡¯ ¿¡¼ ½Åû ¶Ç´Â 1:1 ¹®ÀÇ °Ô½ÃÆÇ ¹× °í°´¼¾ÅÍ(1577-2555)¿¡¼ ½Åû °¡´É |
---|---|
¹ÝÇ°/±³È¯°¡´É ±â°£ |
º¯½É ¹ÝÇ°ÀÇ °æ¿ì Ãâ°í¿Ï·á ÈÄ 6ÀÏ(¿µ¾÷ÀÏ ±âÁØ) À̳»±îÁö¸¸ °¡´É |
¹ÝÇ°/±³È¯ ºñ¿ë |
º¯½É ȤÀº ±¸¸ÅÂø¿À·Î ÀÎÇÑ ¹ÝÇ°/±³È¯Àº ¹Ý¼Û·á °í°´ ºÎ´ã |
¹ÝÇ°/±³È¯ ºÒ°¡ »çÀ¯ |
·¼ÒºñÀÚÀÇ Ã¥ÀÓ ÀÖ´Â »çÀ¯·Î »óÇ° µîÀÌ ¼Õ½Ç ¶Ç´Â ÈÑ¼ÕµÈ °æ¿ì ·¼ÒºñÀÚÀÇ »ç¿ë, Æ÷Àå °³ºÀ¿¡ ÀÇÇØ »óÇ° µîÀÇ °¡Ä¡°¡ ÇöÀúÈ÷ °¨¼ÒÇÑ °æ¿ì ·º¹Á¦°¡ °¡´ÉÇÑ »óÇ° µîÀÇ Æ÷ÀåÀ» ÈѼÕÇÑ °æ¿ì ·½Ã°£ÀÇ °æ°ú¿¡ ÀÇÇØ ÀçÆǸŰ¡ °ï¶õÇÑ Á¤µµ·Î °¡Ä¡°¡ ÇöÀúÈ÷ °¨¼ÒÇÑ °æ¿ì ·ÀüÀÚ»ó°Å·¡ µî¿¡¼ÀÇ ¼ÒºñÀÚº¸È£¿¡ °üÇÑ ¹ý·üÀÌ Á¤ÇÏ´Â ¼ÒºñÀÚ Ã»¾àöȸ Á¦ÇÑ ³»¿ë¿¡ ÇØ´çµÇ´Â °æ¿ì |
»óÇ° Ç°Àý |
°ø±Þ»ç(ÃâÆÇ»ç) Àç°í »çÁ¤¿¡ ÀÇÇØ Ç°Àý/Áö¿¬µÉ ¼ö ÀÖÀ½ |
¼ÒºñÀÚ ÇÇÇغ¸»ó |
·»óÇ°ÀÇ ºÒ·®¿¡ ÀÇÇÑ ±³È¯, A/S, ȯºÒ, Ç°Áúº¸Áõ ¹× ÇÇÇغ¸»ó µî¿¡ °üÇÑ »çÇ×Àº¼ÒºñÀÚºÐÀïÇØ°á ±âÁØ (°øÁ¤°Å·¡À§¿øȸ °í½Ã)¿¡ ÁØÇÏ¿© ó¸®µÊ ·´ë±Ý ȯºÒ ¹× ȯºÒÁö¿¬¿¡ µû¸¥ ¹è»ó±Ý Áö±Þ Á¶°Ç, ÀýÂ÷ µîÀº ÀüÀÚ»ó°Å·¡ µî¿¡¼ÀǼҺñÀÚ º¸È£¿¡ °üÇÑ ¹ý·ü¿¡ µû¶ó ó¸®ÇÔ |
(ÁÖ)ÀÎÅÍÆÄÅ©Ä¿¸Ó½º´Â ȸ¿ø´ÔµéÀÇ ¾ÈÀü°Å·¡¸¦ À§ÇØ ±¸¸Å±Ý¾×, °áÁ¦¼ö´Ü¿¡ »ó°ü¾øÀÌ (ÁÖ)ÀÎÅÍÆÄÅ©Ä¿¸Ó½º¸¦ ÅëÇÑ ¸ðµç °Å·¡¿¡ ´ëÇÏ¿©
(ÁÖ)KGÀ̴Ͻýº°¡ Á¦°øÇÏ´Â ±¸¸Å¾ÈÀü¼ºñ½º¸¦ Àû¿ëÇÏ°í ÀÖ½À´Ï´Ù.
¹è¼Û¾È³»
±³º¸¹®°í »óÇ°Àº Åùè·Î ¹è¼ÛµÇ¸ç, Ãâ°í¿Ï·á 1~2Àϳ» »óÇ°À» ¹Þ¾Æ º¸½Ç ¼ö ÀÖ½À´Ï´Ù.
Ãâ°í°¡´É ½Ã°£ÀÌ ¼·Î ´Ù¸¥ »óÇ°À» ÇÔ²² ÁÖ¹®ÇÒ °æ¿ì Ãâ°í°¡´É ½Ã°£ÀÌ °¡Àå ±ä »óÇ°À» ±âÁØÀ¸·Î ¹è¼ÛµË´Ï´Ù.
±ººÎ´ë, ±³µµ¼Ò µî ƯÁ¤±â°üÀº ¿ìü±¹ Åù踸 ¹è¼Û°¡´ÉÇÕ´Ï´Ù.
¹è¼Ûºñ´Â ¾÷ü ¹è¼Ûºñ Á¤Ã¥¿¡ µû¸¨´Ï´Ù.