Dec 02, 2014
12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 02, 2014
12:58 AM
I note that creator generated code seems to include cyfitter.h, cytypes.h and devices.h
I think devices.h gives access within C files to the components on the schematics?
When I create my own C and H files, should I be including "devices.h" in the C file to access components and the "cytypes.h" to access the named registers in the header files?
Beside standard Ansi C header files for string processing etc, are these the main 2 cypress header files I need?
1 Reply
Dec 02, 2014
09:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 02, 2014
09:49 AM
You are quite right with your assumptions. When you access components you need <device.h> and if not <cytypes.h> which is afaik included by the first one.
Bob