Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new 1.7 Doxygen's default stylesheet is much better.
This commit is contained in:
parent
13ea700b35
commit
711542ee89
40 changed files with 140 additions and 687 deletions
|
@ -199,7 +199,7 @@ bool XMEGANVM_ReadMemory(const uint32_t ReadAddress, uint8_t* ReadBuffer, uint16
|
|||
XPROGTarget_SendByte(PDI_CMD_REPEAT | PDI_DATSIZE_1BYTE);
|
||||
XPROGTarget_SendByte(ReadSize - 1);
|
||||
|
||||
/* Send a LD command with indirect access and postincrement to read out the bytes */
|
||||
/* Send a LD command with indirect access and post-increment to read out the bytes */
|
||||
XPROGTarget_SendByte(PDI_CMD_LD | (PDI_POINTER_INDIRECT_PI << 2) | PDI_DATSIZE_1BYTE);
|
||||
while (ReadSize-- && TimeoutMSRemaining)
|
||||
*(ReadBuffer++) = XPROGTarget_ReceiveByte();
|
||||
|
@ -286,7 +286,7 @@ bool XMEGANVM_WritePageMemory(const uint8_t WriteBuffCommand, const uint8_t Eras
|
|||
XPROGTarget_SendByte(PDI_CMD_REPEAT | PDI_DATSIZE_1BYTE);
|
||||
XPROGTarget_SendByte(WriteSize - 1);
|
||||
|
||||
/* Send a ST command with indirect access and postincrement to write the bytes */
|
||||
/* Send a ST command with indirect access and post-increment to write the bytes */
|
||||
XPROGTarget_SendByte(PDI_CMD_ST | (PDI_POINTER_INDIRECT_PI << 2) | PDI_DATSIZE_1BYTE);
|
||||
while (WriteSize--)
|
||||
XPROGTarget_SendByte(*(WriteBuffer++));
|
||||
|
|
|
@ -256,7 +256,7 @@ static void XPROGProtocol_Erase(void)
|
|||
break;
|
||||
}
|
||||
|
||||
/* Erase the target memory, indicate timeout if ocurred */
|
||||
/* Erase the target memory, indicate timeout if occurred */
|
||||
if (!(XMEGANVM_EraseMemory(EraseCommand, Erase_XPROG_Params.Address)))
|
||||
ReturnStatus = XPRG_ERR_TIMEOUT;
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ static void XPROGProtocol_Erase(void)
|
|||
else
|
||||
EraseCommand = TINY_NVM_CMD_SECTIONERASE;
|
||||
|
||||
/* Erase the target memory, indicate timeout if ocurred */
|
||||
/* Erase the target memory, indicate timeout if occurred */
|
||||
if (!(TINYNVM_EraseMemory(EraseCommand, Erase_XPROG_Params.Address)))
|
||||
ReturnStatus = XPRG_ERR_TIMEOUT;
|
||||
}
|
||||
|
|
|
@ -54,12 +54,12 @@ static uint8_t RX_Data;
|
|||
/** Initializes the software UART, ready for data transmission and reception into the global ring buffers. */
|
||||
void SoftUART_Init(void)
|
||||
{
|
||||
/* Set TX pin to output high, enable RX pullup */
|
||||
/* Set TX pin to output high, enable RX pull-up */
|
||||
STXPORT |= (1 << STX);
|
||||
STXDDR |= (1 << STX);
|
||||
SRXPORT |= (1 << SRX);
|
||||
|
||||
/* Enable INT0 for the detection of incomming start bits that signal the start of a byte */
|
||||
/* Enable INT0 for the detection of incoming start bits that signal the start of a byte */
|
||||
EICRA = (1 << ISC01);
|
||||
EIMSK = (1 << INT0);
|
||||
|
||||
|
|
|
@ -218,7 +218,7 @@ USB_Descriptor_String_t PROGMEM USART_ProductString =
|
|||
.UnicodeString = L"LUFA XPLAIN Bridge"
|
||||
};
|
||||
|
||||
/** Descriptior retrieval function for the USART Bridge descriptors. This function is in turn called by the GetDescriptor
|
||||
/** Descriptor retrieval function for the USART Bridge descriptors. This function is in turn called by the GetDescriptor
|
||||
* callback function in the main source file, to retrieve the device's descriptors when in USART bridge mode.
|
||||
*/
|
||||
uint16_t USART_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
|
||||
|
|
|
@ -156,7 +156,7 @@ void SetupHardware(void)
|
|||
MCUCR |= (1 << JTD);
|
||||
MCUCR |= (1 << JTD);
|
||||
|
||||
/* Enable pullup on the JTAG TDI pin so we can use it to select the mode */
|
||||
/* Enable pull-up on the JTAG TDI pin so we can use it to select the mode */
|
||||
PORTF |= (1 << 7);
|
||||
_delay_ms(10);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue