Appendix F. CCS C Program Function Reference
This is a summary of the more commonly used functions available in CCS C Version 4 (January 2007). For more details on how to use the listed functions and others not included here, visit www.ccsinfo.com for a current manual download.
The following apply to all the following tables:
1. All functions require a header file, e.g., 16F877A.H.
Table F.1. Port Input and Output (Requires Chip Header File Only, e.g., 16F877A.H) Function Description Example Comment WRITE BYTE Write all bits with 8-bit integer output_A(255); A replaced by B, C, D, or E SET BIT Write output bit high using pin label output_high(PIN_A0); A0 replaced by A1, A2, . . ., A7, B0, . . ., B7, etc. CLEAR BIT Write output bit low using pin label output_low(PIN_A0); ...
Get Programming 8-bit PIC Microcontrollers in C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.