Members List
Notifications
Home
Register
sign up at baocaotieuluan.com
Search
goc phai

- Hơn (10.983.086) 10 triệu Tài liệu, tiểu luận, luận văn, báo cáo, báo cáo thực tập, câu hỏi ôn tập, đề thi, bài giải cuối kỳ ....
- download không giới hạn

Vui Lòng Gõ Từ Khóa Vào Khung Tìm Kiếm Bên Dưới Để Tìm Được Tài Liệu Nhanh Hơn
Search Documents

Ðề tài: C51 Primer - apr1$NUWNYzCIw-bao cao tieu luan luan van thuc tap nghien cuu phuong phap giải pháp

  1. #1
    Đề tài: C51 Primer - apr1$NUWNYzCIw-bao cao tieu luan luan van thuc tap nghien cuu phuong phap giải pháp
    Chuyên ngành: Lập trình Mã số tài liệu: 191209 Lượt xem: 475
    Thể loại: TÀI LIỆU Đánh giá:
  2. 0 About The C51 Primer 7
    0.1 History .8
    1 Introduction .11
    2 Compiler Chain 13
    3 C51 Basics - The 8051 Architecture .15
    3.1 8051 Memory Configurations 15
    3.1.1 Physical Location Of The Memory Spaces .15
    3.2 Hardware Memory Models .19
    3.2.1 External DATA .19
    3.2.2 External Code 20
    3.2.3 Write to CODE Space 20
    3.3 Possible Memory Models .21
    3.3.1 ROM Memory Models .21
    3.3.2 RAM Memory Models .22
    3.3.3 Choosing The Best Memory Configuration/Model 23
    3.3.4 What data goes where? 25
    3.4 Setting The Memory Model .26
    3.5 Local Memory Model Specification .27
    3.5.1 Overview .27
    4 Declaring Variables And Constants 29
    4.1 Constants 29
    4.2 Variables 30
    4.2.1 Uninitialised Variables .30
    4.2.2 Initialised Variables .31
    4.3 Watchdogs With Large Amounts Of Initialised Data 32
    4.4 C51 Variables .33
    4.4.1 Variable Types .33
    4.4.2 Special Function Bits .35
    4.4.3 Converting Between Types 36
    4.4.4 A Non-ISO Approach To Checking Data Type Overflow .37
    5 Program Structure And Layout 39
    5.1 Modular Programming In C51 39
    5.2 Accessibility Of Variables In Modular Programs 42
    5.3 Building a C51 Modular Program .45
    5.3.1 The Problem .45
    5.3.2 Maintainable Inter-Module Links 45
    5.4 Standard Templates (and Version Control) .51
    5.4.1 Version Control 51
    5.5 Task Scheduling .52
    5.5.1 Applications Overview .52
    5.5.2 Simple 8051 multi-task Systems 53
    5.5.3 Simple Scheduling - A Partial Solution 55
    6 C Language Extensions For 8051 Programming 57
    6.1 Accessing 8051 On-Chip Peripherals .57
    6.2 Interrupts .58
    6.2.1 The Interrupt Function Type .58
    6.2.2 Using C51 With Target Monitor Debuggers 58
    6.2.3 Coping Interrupt Spacings Other Than 8 59
    7 Pointers In C51 .61
    7.1 Using Pointers And Arrays In C51 .61
    www.hitex.co.uk page 3 of 190 Version 3.5
    7.1.1 Pointers In Assembler 61
    7.1.2 Pointers In C51 .61
    7.2 Pointers To Absolute Addresses .63
    7.3 Arrays And Pointers - Two Sides Of The Same Coin? 64
    7.3.1 Uninitialised Arrays 64
    7.3.2 Initialised Arrays 64
    7.3.3 Using Arrays 65
    7.3.4 Summary Of Arrays And Pointers .66
    7.4 Structures .67
    7.4.1 Why Use Structures? .67
    7.4.2 Arrays Of Structures .68
    7.4.3 Initialised Structures .69
    7.4.4 Placing Structures At Absolute Addresses 69
    7.4.5 Pointers To Structures .70
    7.4.6 Passing Structure Pointers To Functions .70
    7.4.7 Structure Pointers To Absolute Addresses 71
    7.5 Unions .71
    7.6 Generic Pointers .72
    7.7 Spaced Pointers In C51 .74
    8 Accessing External Memory Mapped Peripherals 77
    8.1 The XBYTE And XWORD Macros 77
    8.2 Initialised XDATA Pointers 78
    8.3 Run Time xdata Pointers .80
    8.4 The “volatile” Storage Class .81
    8.5 Placing Variables At Specific Locations - The Linker Method 81
    8.6 Excluding External Data Ranges From Specific Areas .83
    8.7 -missing ORDER and AT now in C51 .83
    8.8 Using The _at_and _ORDER_ Controls 84
    9 Linking Issues And Stack Placement .85
    9.1 Basic Use Of L51 Linker 85
    9.2 Stack Placement .86
    9.3 Using The Top 128 Bytes of the 8052 RAM .86
    9.4 L51 Linker Data RAM Overlaying 87
    9.4.1 Overlaying Principles 87
    9.4.2 Impact Of Overlaying On Program Construction 88
    9.4.3 Indirect Function Calls With Function Pointers (hazardous) 88
    9.4.4 Indirectly called functions solution .91
    9.4.5 Function Jump Table Warning (Non-hazardous) .92
    9.4.6 Function Jump Table Warning Solution .93
    9.4.7 Multiple Call To Segment Warning (Hazardous) .94
    9.4.8 Multiple Call To Segment Solution 95
    9.4.9 Overlaying Public Variables 96
    10 Other C51 Extensions 99
    10.1 Special Function Bits .99
    10.2 Support For 80C517/537 32-bit Maths Unit 100
    10.2.1 The MDU - How To Use It 100
    10.2.2 The 8 Datapointers .100
    10.2.3 80C517 - Things To Be Aware Of .100
    10.3 87C751 Support 101
    10.3.1 87C751 - Steps To Take 101
    10.3.2 Integer Promotion 101
    11 Miscellaneous Points .103
    11.1 Tying The C Program To The Restart Vector .103
    11.2 Intrinsic Functions .103
    11.3 EA Bit Control #pragma 104
    www.hitex.co.uk page 4 of 190 Version 3.5
    11.4 16-Bit sfr Support 104
    11.5 Function Level Optimisation .105
    11.6 In-Line Functions In C51 .105
    12 Some C51 Programming Tricks .107
    12.1 Accessing R0 etc. directly from C51 .107
    12.2 Making Use Of Unused Interrupt Sources .107
    12.3 Code Memory Device Switching .108
    12.4 Simulating A Software Reset 109
    12.5 The Compiler Preprocessor - #define 110
    13 C51 Library Functions .111
    13.1 Library Function Calling .111
    13.2 Memory-Model Specific Libraries .111
    14 Outputs From C51 .113
    14.1 Object Files 113
    14.2 HEX Files For EPROM Blowing 113
    14.3 Assembler Output .113
    15 Assembler Interfacing To C Programs .115
    15.1 Assembler Function Example .115
    15.2 Parameter Passing To Assembler Functions 117
    15.3 Parameter Passing In Registers .117
    16 General Things To Be Aware Of 119
    16.1 .119
    16.2 .119
    16.3 .119
    16.4 .119
    16.5 .119
    16.6 .120
    16.7 Floating Point Numbers 120
    17 Conclusion 121
    18 Appendix A .125
    19 Appendix B .127
    20 Appendix C .139
    20.1 Dhrystone .139
    20.2 Whetstone 139
    20.3 The Sieve of Eratosthenes .140
    21 Appendix D .152
    22 Appendix E Tile Hill Embedded C Style Guide .157
    23 Apendix F A Standard History of C 160
    23.1 From K&R to ISO-C99 :- A Standard History of C .161
    23.1.1 K&R (1st Edition) 1978 .161
    23.1.2 K&R (2nd edition 1988) 162
    23.1.3 ANSI C (1989) .162
    23.1.4 ISO-C90 (1990) 162
    23.1.5 ISO-C99 ISO/IEC 9899:1999 163
    23.1.6 ISO/IEC 9899:1999 TC1 2001 164
    23.2 The Future: Back to C. (Why C is not C++) .164
    23.3 What to read for Embedded C? 165
    24 Appendix G Timers & Delays 169
    25 Appendix H Serial Ports and Baud rates 171
    26 Appendix J ICE Connect your design 173
    27 Appendix K 8051 Instruction set (in Hex order) .175
    28 Appendix L Refferences 181
    29 Standards 187Trích từ: http://kilobooks.com

    ______________________________________HÃY ĐĂNG KÝ THÀNH VIÊN ĐỂ TẢI TÀI LIỆU__________________________OUfnvLV___

    - đồ án tốt nghiệp sách kinh tế tài liệu đề tài sinh viên
    - báo cáo tiểu luận luận văn thực tập nghiên cứu phương pháp
    - do an tot nghiep sach kinh te tai lieu de tai sinh vien
    - bao cao tieu luan luan van thuc tap nghien cuu phuong phap
    - sách kinh tế tài liệu đồ án tốt nghiệp đề tài sinh viên
    - luận văn thực tập báo cáo tiểu luận nghiên cứu phương pháp
    - sach kinh te tai lieu do an tot nghiep de tai sinh vien
    - luan van thuc tap bao cao tieu luan nghien cuu phuong phap

    View more random threads:


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Các bài viết tương tự

  1. TÀI LIỆU A Web Primer
    By fire_phoenix_1001 in forum Đồ Họa
    Trả lời: 0
    Bài mới gởi: 10-12-2011, 19:30
  2. TÀI LIỆU A project Management Primer
    By ttc.vn in forum Quản Trị
    Trả lời: 0
    Bài mới gởi: 09-12-2011, 13:10
  3. TÀI LIỆU A Primer on Check and ATM Cards
    By giangit in forum Tài Chính - Ngân Hàng
    Trả lời: 0
    Bài mới gởi: 18-11-2011, 16:54
  4. TÀI LIỆU A Semantic Web Primer
    By fire_phoenix_1001 in forum Web
    Trả lời: 0
    Bài mới gởi: 11-11-2011, 20:13
  5. TÀI LIỆU A Project Management Primer
    By mizu.pham in forum Kế Toán - Kiểm Toán
    Trả lời: 0
    Bài mới gởi: 27-10-2011, 21:43