Jump to content
Sign in to follow this  
sdujolo

Wrong Header File!

Recommended Posts

If I compare the header file for PIC16F1503 with data sheet it does not match.

 

///////Bank4//////////////////

#define WPUA 0x020C

#define SSP1BUF 0x020D

#define SSPBUF 0x020D

#define SSP1ADD 0x020E

#define SSPADD 0x020E

#define SSP1MSK 0x020F

#define SSPMSK 0x020F

#define SSP1STAT 0x0210

#define SSPSTAT 0x0210

#define SSP1CON1 0x0211

#define SSPCON 0x0211

#define SSPCON1 0x0211

#define SSP1CON2 0x0212

#define SSPCON2 0x0212

#define SSP1CON3 0x0213

#define SSPCON3 0x0213

 

Bank 4

20Ch WPUA — — WPUA5 WPUA4 WPUA3 WPUA2 WPUA1 WPUA0 --11 1111 --11 1111

20Dh

to

210h

— Unimplemented — —

211h SSP1BUF Synchronous Serial Port Receive Buffer/Transmit Register xxxx xxxx uuuu uuuu

212h SSP1ADD ADD<7:0> 0000 0000 0000 0000

213h SSP1MSK MSK<7:0> 1111 1111 1111 1111

214h SSP1STAT SMP CKE D/A P S R/W UA BF 0000 0000 0000 0000

215h SSP1CON1 WCOL SSPOV SSPEN CKP SSPM<3:0> 0000 0000 0000 0000

216h SSP1CON2 GCEN ACKSTAT ACKDT ACKEN RCEN PEN RSEN SEN 0000 0000 0000 0000

217h SSP1CON3 ACKTIM PCIE SCIE BOEN SDAHT SBCDE AHEN DHEN 0000 0000 0000 0000

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...