Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.
Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
This commit is contained in:
parent
021b1b567e
commit
c3758ac5ef
31 changed files with 3786 additions and 37 deletions
|
@ -51,6 +51,19 @@ void NVMTarget_SendNVMRegAddress(uint8_t Register)
|
|||
NVMTarget_SendAddress(Address);
|
||||
}
|
||||
|
||||
/** Sends the given 32-bit absolute address to the target.
|
||||
*
|
||||
* \param[in] AbsoluteAddress Absolute address to send to the target
|
||||
*/
|
||||
void NVMTarget_SendAddress(uint32_t AbsoluteAddress)
|
||||
{
|
||||
/* Send the given 32-bit address to the target, LSB first */
|
||||
PDITarget_SendByte(AbsoluteAddress & 0xFF);
|
||||
PDITarget_SendByte(AbsoluteAddress >> 8);
|
||||
PDITarget_SendByte(AbsoluteAddress >> 16);
|
||||
PDITarget_SendByte(AbsoluteAddress >> 24);
|
||||
}
|
||||
|
||||
/** Waits while the target's NVM controller is busy performing an operation, exiting if the
|
||||
* timeout period expires.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue