Minor code cleanups, remove TemperatureDataLogger host application's Visual Studio Solution files, add LibHIDNet license files.
This commit is contained in:
parent
b68f7f1649
commit
5d5e359076
17 changed files with 868 additions and 25 deletions
|
|
@ -143,7 +143,7 @@ static void XPROGProtocol_EnterXPROGMode(void)
|
|||
|
||||
/* Lower direction change guard time to 8 USART bits */
|
||||
XPROGTarget_SendByte(TPI_CMD_SSTCS | TPI_CTRL_REG);
|
||||
XPROGTarget_SendByte(0x04);
|
||||
XPROGTarget_SendByte(0x04);
|
||||
|
||||
/* Enable access to the XPROG NVM bus by sending the documented NVM access key to the device */
|
||||
XPROGTarget_SendByte(TPI_CMD_SKEY);
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ void XPROGTarget_EnableTargetTPI(void)
|
|||
DDRD |= (1 << 5) | (1 << 3);
|
||||
DDRD &= ~(1 << 2);
|
||||
|
||||
/* Set up the synchronous USART for XMEGA communications -
|
||||
/* Set up the synchronous USART for TINY communications -
|
||||
8 data bits, even parity, 2 stop bits */
|
||||
UBRR1 = (F_CPU / 500000UL);
|
||||
UCSR1B = (1 << TXEN1);
|
||||
|
|
|
|||
|
|
@ -30,11 +30,11 @@
|
|||
|
||||
/** \file
|
||||
*
|
||||
* Header file for PDITarget.c.
|
||||
* Header file for XPROGTarget.c.
|
||||
*/
|
||||
|
||||
#ifndef _PDI_TARGET_
|
||||
#define _PDI_TARGET_
|
||||
#ifndef _XPROG_TARGET_
|
||||
#define _XPROG_TARGET_
|
||||
|
||||
/* Includes: */
|
||||
#include <avr/io.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue