亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 3470 | 回復(fù): 9
打印 上一主題 下一主題

s3c2410手冊(cè)RTC看的時(shí)候有點(diǎn)問(wèn)題... [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2008-06-11 12:22 |只看該作者 |倒序?yàn)g覽
In the power-off mode, the power management wakeup (PMWKUP) signal is activated as well as the ALMINT. The RTC

alarm register (RTCALM) determines the alarm enable/disable status and the condition of the alarm time setting.

在電源關(guān)閉模式(有電池的情況下),電源管理的PMWKUP信號(hào)和ALMINT寄存器都是活動(dòng)的.以設(shè)定的報(bào)警時(shí)間為條件,來(lái)決定RTCALM的使

能狀態(tài).

上面這個(gè)翻出來(lái)了,如果有問(wèn)題請(qǐng)?zhí)岢?

TICK TIME INTERRUPT 滴答時(shí)間中斷
The RTC tick time is used for interrupt request. The TICNT register has an interrupt enable bit and the count
value for the interrupt. The count value reaches '0' when the tick time interrupt occurs. Then the period of
interrupt is as follows:
Period = ( n+1 ) / 128 second
n: Tick time count value (1~127)
This RTC time tick may be used for real time operating system (RTOS) kernel time tick. If time tick is generated
by the RTC time tick, the time related function of RTOS will always synchronized in real time.

RTC的滴答時(shí)間用于中斷請(qǐng)求.TICNT積存器有一個(gè)中斷使能位和count value提供中斷.當(dāng)count value為0時(shí),滴答時(shí)間中斷發(fā)生.
中斷的周期公式:周期=( n+1 ) / 128 second n是count value (1~127)
這個(gè)RTC時(shí)間滴答,也能用做時(shí)時(shí)操作系統(tǒng)(RTOS)的核心時(shí)間滴答,如果RTC時(shí)間抵達(dá)發(fā)生,那么RTOS里與時(shí)間相關(guān)的函數(shù)會(huì)總是與它同步的.

后面半句實(shí)在翻的太惡心,因?yàn)椴焕斫鈉ount value是啥意思,那個(gè)公式的意義,最后一句怎么理解,請(qǐng)知道的人給指導(dǎo)下,謝謝

[ 本帖最后由 jn200002 于 2008-6-11 13:10 編輯 ]

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2008-06-11 13:30 |只看該作者
原帖由 jn200002 于 2008-6-11 12:22 發(fā)表
In the power-off mode, the power management wakeup (PMWKUP) signal is activated as well as the ALMINT. The RTC

alarm register (RTCALM) determines the alarm enable/disable status and the condition of the alarm time setting.

在電源關(guān)閉模式(有電池的情況下),電源管理的PMWKUP信號(hào)和ALMINT寄存器都是活動(dòng)的.以設(shè)定的報(bào)警時(shí)間為條件,來(lái)決定RTCALM的使

能狀態(tài).

上面這個(gè)翻出來(lái)了,如果有問(wèn)題請(qǐng)?zhí)岢?

TICK TIME INTERRUPT 滴答時(shí)間中斷
The RTC tick time is used for interrupt request. The TICNT register has an interrupt enable bit and the count
value for the interrupt. The count value reaches '0' when the tick time interrupt occurs. Then the period of
interrupt is as follows:
Period = ( n+1 ) / 128 second
n: Tick time count value (1~127)
This RTC time tick may be used for real time operating system (RTOS) kernel time tick. If time tick is generated
by the RTC time tick, the time related function of RTOS will always synchronized in real time.

RTC的滴答時(shí)間用于中斷請(qǐng)求.TICNT積存器有一個(gè)中斷使能位和count value提供中斷.當(dāng)count value為0時(shí),滴答時(shí)間中斷發(fā)生.
中斷的周期公式:周期=( n+1 ) / 128 second n是count value (1~127)
這個(gè)RTC時(shí)間滴答,也能用做時(shí)時(shí)操作系統(tǒng)(RTOS)的核心時(shí)間滴答,如果RTC時(shí)間抵達(dá)發(fā)生,那么RTOS里與時(shí)間相關(guān)的函數(shù)會(huì)總是與它同步的.

后面半句實(shí)在翻的太惡心,因?yàn)椴焕斫鈉ount value是啥意思,那個(gè)公式的意義,最后一句怎么理解,請(qǐng)知道的人給指導(dǎo)下,謝謝



>>The RTC alarm register (RTCALM) determines the alarm enable/disable status and the condition of the alarm time setting.
通過(guò)RTCALM寄存器設(shè)定alarm開(kāi)啟/關(guān)閉以及alarm開(kāi)啟條件




>>The count value reaches '0' when the tick time interrupt occurs.
count value就是計(jì)數(shù)器的值

中斷發(fā)生時(shí)計(jì)數(shù)器的值count value置0


>>This RTC time tick may be used for real time operating system (RTOS) kernel time tick.
>> If time tick is generated by the RTC time tick, the time related function of RTOS will always synchronized in real time.

time tick就相當(dāng)於時(shí)鍾的"秒針"(並不一定是秒了,總之是你的RTC的最小單位,取決於CPU時(shí)鐘頻率)

這個(gè)"秒針"可能用於實(shí)時(shí)操作系統(tǒng)(RTOS)的核心時(shí)鍾(最小單位).
如果這個(gè)"秒針"由實(shí)時(shí)時(shí)鍾的秒針創(chuàng)建的話, 實(shí)時(shí)操作系統(tǒng)(RTOS)的時(shí)間函數(shù)就會(huì)和實(shí)時(shí)時(shí)鍾同步.

這裏的實(shí)時(shí)時(shí)鐘就是指能提供精確的1s的時(shí)鐘,比如 32.768khz

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2008-06-11 13:50 |只看該作者

回復(fù) #2 bitmilong 的帖子

汗ING偶錯(cuò)的挺離譜的~ 果然貼切!多謝解釋!繼續(xù)向下~我發(fā)現(xiàn)我以為正確的好象多有出入,
KEEP MOVING!

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2008-06-11 14:12 |只看該作者
ROUND RESET FUNCTION 重置XX不知怎么翻譯~~
The round reset function can be performed by the RTC round reset register (RTCRST). The round boundary (30,
40, or 50 sec.) of the second carry generation can be selected, and the second value is rounded to zero in the
round reset. For example, when the current time is 23:37:47 and the round boundary is selected to 40 sec, the
round reset changes the current time to 23:38:00.

NOTE
All RTC registers have to be accessed for each byte unit using the STRB and LDRB instructions or char
type pointer.

ROUND RESET FUNCTION能被RTCRST寄存器執(zhí)行,這個(gè)邊界為30 40 50秒,如果選中其中一個(gè),那秒的值就會(huì)變0.舉例,當(dāng)前時(shí)間為

23:37:47,如果設(shè)定邊界為40秒的話,當(dāng)前時(shí)間變?yōu)?23:38:00.
注意:
所有的RTC寄存器不得不被 STRB和LDRB或者字符型的指針按字節(jié)存取.


實(shí)在不明白,設(shè)置這樣一個(gè)邊界有什么意義...哪里會(huì)用到這樣的進(jìn)位啊?STRB或LDRB是什么DONGDONG?


接下來(lái)是各寄存器位代表的意義及如何設(shè)置,這就不用拿上來(lái)了.

THANKS FOR MR.位米龍 歪哩歪哩 嘛去!

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2008-06-11 22:22 |只看該作者
樓主的翻譯著實(shí)很讓人崩潰,呵呵

STRB和LTRB是ARM的彙編指令

詳細(xì)資料可以參考http://linux.chinaunix.net/bbs/thread-999392-1-3.html

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2008-06-12 08:46 |只看該作者
其實(shí)翻譯出來(lái)就怕理解錯(cuò)了~哈哈~因?yàn)橐钦J(rèn)識(shí)都錯(cuò)了,后面會(huì)比較郁悶的~感謝指正哇~

[ 本帖最后由 jn200002 于 2008-6-12 08:48 編輯 ]

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2008-06-12 10:00 |只看該作者
原帖由 jn200002 于 2008-6-12 08:46 發(fā)表
其實(shí)翻譯出來(lái)就怕理解錯(cuò)了~哈哈~因?yàn)橐钦J(rèn)識(shí)都錯(cuò)了,后面會(huì)比較郁悶的~感謝指正哇~



恭喜恭喜

人呀,最恐怖的就是每天都有進(jìn)步,後果不堪設(shè)想

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2008-06-12 11:12 |只看該作者

回復(fù) #7 bitmilong 的帖子

暈,我是真想每天都能有進(jìn)步~可是奈何不懂的太多,底子太差,最近很多在一個(gè)問(wèn)題上迂回好多次,然后才能有稍微清晰一些的認(rèn)識(shí),就象這手冊(cè),2周前掃過(guò)一次,昨天又看完才有些認(rèn)識(shí)~把這塊兒弄懂了后以后還會(huì)有讓你崩潰的翻譯出現(xiàn)的~哈哈哈


THANK U

nanosecond 是毫秒還是 納秒膩~?嘿嘿,問(wèn)題總是有很多滴~

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2008-06-12 11:14 |只看該作者

回復(fù) #8 jn200002 的帖子

納秒=毫微秒=十億分之一秒

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2008-06-12 13:21 |只看該作者

回復(fù) #9 bitmilong 的帖子

OK! 3Q
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP