[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [patch #8590] WDT enable/disable for devices with CCP
From: |
Pitchumani |
Subject: |
[avr-libc-dev] [patch #8590] WDT enable/disable for devices with CCP |
Date: |
Wed, 07 Jan 2015 06:38:14 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 OPR/26.0.1656.60 |
URL:
<http://savannah.nongnu.org/patch/?8590>
Summary: WDT enable/disable for devices with CCP
Project: AVR C Runtime Library
Submitted by: pitchumani
Submitted on: Wed 07 Jan 2015 06:38:13 AM GMT
Category: None
Priority: 5 - Normal
Status: In Progress
Privacy: Public
Assigned to: pitchumani
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
For some devices CCP register should be written with the signature before
writing into WDT register. Attached patch adds a conditional branch to enable/
disable wdt for devices that has CCP.
Example: tiny4/5/9/10/20/40, tiny828 and tiny1634
In wdt enable/disable functions, there are branches to check whether the WDT
and CCP are in IO range or not. This is to generate in/out instructions if
they are in IO range.
NOTE: Currently linker do not relax lds/sts into in/out if they are in IO
range.
ChangeLog
2015-01-07 Senthil Kumar Selvaraj <address@hidden>
Pitchumani Sivanupandi <address@hidden>
* include/avr/wdt.h: Add conditional branch to enable/disable wdt
for devices that has CCP.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 07 Jan 2015 06:38:13 AM GMT Name: wdt-ccp-branch.patch Size: 5kB
By: pitchumani
<http://savannah.nongnu.org/patch/download.php?file_id=32777>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8590>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [patch #8590] WDT enable/disable for devices with CCP,
Pitchumani <=