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
/* --COPYRIGHT--,BSD | |
* Copyright (c) 2012, Texas Instruments Incorporated | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* | |
* * Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. |
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
# This example simply takes the small Proj1 board and panelizes | |
# it in a 2x4 array. To demonstrate rotation, the second column | |
# consists of rotated jobs. You wouldn't really do it this way, | |
# of course, as it wastes space. | |
# use notepad to edit this | |
Row { | |
input_gerber1 | |
Col { | |
Row { |
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 "ossiobc.h" | |
#include "wdt.h" | |
#include "timerB.h" | |
/* | |
* main.c | |
*/ | |
int main(void) { | |
wdt_hold(); | |
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
/* | |
* clock.c | |
* | |
* Created on: 2013. 1. 16. | |
* Author: OSSI | |
*/ | |
#include "clock.h" | |
// main clock will be shared via system |
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
/* | |
* clock.c | |
* | |
* Created on: 2013. 1. 14. | |
* Author: OSSI | |
*/ | |
#include"clock.h" | |
// main clock will be shared via system | |
static volatile uint8_t clockMode; |
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
/* | |
* adc12.c | |
* | |
* Created on: 2013. 1. 16. | |
* Author: OSSI | |
*/ | |
#include "adc12.h" | |
void adc12_portSetup(uint8_t ports) |
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" | |
static volatile uint8_t uart_rx_flag = 0; | |
static volatile uint8_t rx_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
/* | |
* adc12.c | |
* | |
* Created on: 2013. 1. 16. | |
* Author: OSSI | |
*/ | |
#include "adc12.h" | |
void adc12_portSetup(uint8_t ports) |
NewerOlder