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
– Rev 111
Rev
Hide 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
Changes
111
4648 d 5 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.
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/buffer.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/buffer.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/buffer.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/circular_buffer.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/circular_buffer.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/circular_buffer.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/main.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/pin_interrupts.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/pwm.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/timers.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default/production/PIC_27J13.production.cof
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default/production/PIC_27J13.production.hex
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/interrupts.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/main.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/maindefs.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/msg_queues.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/msg_queues.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Makefile-default.mk
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Makefile-genesis.properties
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/configurations.xml
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pin_interrupts.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pwm.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pwm.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/timers.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/timers.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/uart.c
109
4653 d 7 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)
* ---------------------------- */
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default/production/27J13_3_MQ_Mod.production.cof
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default/production/27J13_3_MQ_Mod.production.hex
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/adc.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/circular_buffer.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/i2c.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/interrupts.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/led_driver.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/main.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/msg_queues.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/pin_interrupts.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/pwm.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/timers.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/uart.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/xbee.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/interrupts.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/main.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/maindefs.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Makefile-genesis.properties
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/configurations.xml
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pin_interrupts.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/uart.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/xbee.c
107
4653 d 10 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)
* ---------------------------- */
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/Makefile
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/adc.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/adc.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/adc.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/circular_buffer.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/i2c.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/interrupts.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/led_driver.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/main.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/msg_queues.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/pin_interrupts.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/pwm.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/timers.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/uart.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/build/default/production/xbee.o.d
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/circular_buffer.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/circular_buffer.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default/production
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default/production/27J13_3_MQ_Mod.production.cof
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/dist/default/production/27J13_3_MQ_Mod.production.hex
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/i2c.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/i2c.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/interrupts.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/interrupts.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/led_driver.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/led_driver.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/main.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/maindefs.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/msg_queues.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/msg_queues.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Makefile-default.mk
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Makefile-genesis.properties
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Makefile-impl.mk
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Makefile-variables.mk
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/Package-default.bash
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/configurations.xml
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/private
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/private/configurations.xml
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/private/private.properties
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/private/private.xml
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/project.properties
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/nbproject/project.xml
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pin_interrupts.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pin_interrupts.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pwm.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/pwm.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/timers.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/timers.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/uart.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/uart.h
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/xbee.c
/Classwork/ECE4534 - Embedded Systems/PIC 27J13/xbee.h