You are here

Header files required | Cypress Semiconductor

Header files required

Summary: 1 Reply, Latest post by Bob Marlowe on 02 Dec 2014 09:49 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
user_343349849's picture
314 posts

 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?


user_1377889's picture
9301 posts

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.



Log in to post new comments.