Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
Code-Repo
(root)
/
Classwork
/
ECE4534 - Embedded Systems
/
PIC 27J13
/
uart.c
@ 237
– Rev 111
Rev
Show changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
111
4597 d 16 h
Kevin
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/
Implemented a buffer for received data from XBee. Also changed the naming of definitions to differentiate from base station code and remote code.
109
4602 d 19 h
Kevin
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/
Changed XBee pins and enabled port B interrupts.
/* ----------- IO Pins -----------
* RA0 - LED Display Latch Enable (PPS)
* RA1 - LED Display CLK (PPS)
* RA2 - LED Display DIN (PPS)
* RA3 - LED Display Output Enable (PPS)
* RA4 - [CANNOT BE USED (VDDCORE/VCAP)]
* RA5 - IR Reciever (PPS)
* RA6 - Oscillator
* RA7 - Oscillator
*
* RC0 - PWM Output (IR) (PPS, Ports B and C only)
* RC1 - PWM Output (IR) (PPS, Ports B and C only)
* RC2 - LED Output (PPS, Ports B and C only)
* RC3 - I2C SCL
* RC4 - I2C SDA
* RC5 - XBee Sleep (PPS)
* RC6 - UART Debug Output
* RC7 - UART Debug Input
*
* RB0 - XBee CTS (PPS)
* RB1 - XBee RTS (PPS)
* RB2 - XBee RX (PPS)
* RB3 - XBee Tx (PPS)
* RB4 - Button Input (Port B Interrupt on Change)
* RB5 - Button Input (Port B Interrupt on Change)
* RB6 - Button Input (Port B Interrupt on Change)
* RB7 - Button Input (Port B Interrupt on Change)
* ---------------------------- */
107
4602 d 22 h
Kevin
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/
Import working PIC 27J13 code with the following pins set:
/* ----------- IO Pins -----------
* RA0 - LED Display Latch Enable (PPS)
* RA1 - LED Display CLK (PPS)
* RA2 - LED Display DIN (PPS)
* RA3 - LED Display Output Enable (PPS)
* RA4 - [CANNOT BE USED (VDDCORE/VCAP)]
* RA5 - IR Reciever (PPS)
* RA6 - Oscillator
* RA7 - Oscillator
*
* RC0 - PWM Output (IR) (PPS, Ports B and C only)
* RC1 - PWM Output (IR) (PPS, Ports B and C only)
* RC2 - LED Output (PPS, Ports B and C only)
* RC3 - I2C SCL
* RC4 - I2C SDA
* RC5 - NA
* RC6 - UART Debug Output
* RC7 - UART Debug Input
*
* RB0 - NA
* RB1 - NA
* RB2 - NA
* RB3 - NA
* RB4 - XBee CTS (PPS)
* RB5 - XBee RTS (PPS)
* RB6 - XBee RX (PPS)
* RB7 - XBee Tx (PPS)
* ---------------------------- */