How can I write to the CPU registers(PORTCCFG,PORTBCFG,etc) and the Input-Output Port Registers(OUTB,OUTC,OEB,OEC, etc) of the 8051 microcontroller of the Cypress CY7C64613 chip in 'C'(language).
It might use a different CPU, but still the technique used is identical.
Reinhard
Read-Only
Author Hans-Bernhard Broeker
Posted 21-Jan-2005 17:19 GMT
Toolset C51
RE: Writing to 8051(CY7C6461) registers in C language
Hans-Bernhard Broeker
Your snippet contains a keyword not predefined by any compiler: EXTERN.
There's a likely candidate as to what your source code may define this word to mean, but without knowing that context, it's impossible to know what's wrong with your source.
My guess is you overlooked this aspect yourself, and that that's exactly your problem.
Read-Only
Author Al Bradford
Posted 22-Jan-2005 18:58 GMT
Toolset C51
RE: Writing to 8051(CY7C6461) registers in C language
Al Bradford
Look at the absacc.h file and manual entry for XBYTE[.....] macros.
Bradford
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.