This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "adf7021n.h" | |
#include "global.h" | |
////////////// TX | |
#define TX_TXCLK_PORT 2 | |
#define TX_TXCLK_PIN 3 | |
#define TX_DATA_PORT 2 | |
#define TX_DATA_PIN 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* global.h | |
* | |
* Created on: 2012. 6. 3. | |
* Author: donghee | |
*/ | |
#ifndef GLOBAL_H_ | |
#define GLOBAL_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* global.h | |
* | |
* Created on: 2012. 6. 3. | |
* Author: donghee | |
*/ | |
#ifndef GLOBAL_H_ | |
#define GLOBAL_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* aclkuart.c | |
* | |
* Created on: 2012. 12. 19. | |
* Author: OSSI | |
*/ | |
#include "aclkuart.h" | |
void puts(char *s) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* aclkuart.c | |
* | |
* Created on: 2012. 12. 19. | |
* Author: OSSI | |
*/ | |
#include "aclkuart.h" | |
uint8_t uart_byte = '\0'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* aclkuart.c | |
* | |
* Created on: 2012. 12. 19. | |
* Author: OSSI | |
*/ | |
#include "aclkuart.h" | |
uint8_t uart_byte = '\0'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* main.c | |
*/ | |
#include "ossibeacon.h" | |
#include "printf.h" | |
unsigned int RxByteCtr; | |
unsigned int RxWord; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* main.c | |
*/ | |
#include "ossibeacon.h" | |
#include "printf.h" | |
unsigned int RxByteCtr; | |
unsigned int RxWord; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//****************************************************************************** | |
// MSP430xG461x Demo - USCI_A0 UART TX single byte and USCI_B0 I2C Master TX | |
// single byte to MSP430 Slave | |
// | |
// Description: This demo connects two MSP430's via the I2C bus and UART. | |
// The master transmits to the slave. This is the master code. It continuously | |
// transmits a single byte of data starting at 0 and incrementing from both | |
// UART and I2C. This demonstrates how to implement an I2C master transmitter | |
// using the USCI_B0 TX interrupt and UART transmission using the USCI_A0 TX | |
// interrupt simultaneously. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* main.c | |
*/ | |
#include "ossibeacon.h" | |
#include "printf.h" | |
unsigned int RxByteCtr; | |
unsigned int RxWord; |
OlderNewer