summaryrefslogtreecommitdiffstats
path: root/doc/bsp_howto
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-02 16:25:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-02 16:25:51 +0000
commitda8c85d0c01b5bb6ccaf363a208be45ac62e838e (patch)
tree7e3f4977c600e31648e0123bf42417fc712ebd17 /doc/bsp_howto
parent2005-09-02 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-da8c85d0c01b5bb6ccaf363a208be45ac62e838e.tar.bz2
2005-09-02 Joel Sherrill <joel@OARcorp.com>
* FAQ/basic.texi, FAQ/bsp.texi, FAQ/build45.texi, FAQ/concepts.texi, FAQ/debug.texi, FAQ/endoftime.texi, FAQ/freesw.texi, FAQ/hwdebugaids.texi, FAQ/projects.texi, FAQ/stamp-vti, FAQ/tools.texi, FAQ/version.texi, bsp_howto/rtc.t, started/buildc.t, started/buildrt.t, user/Makefile.am, user/region.t: Fix typos and regenerate.
Diffstat (limited to 'doc/bsp_howto')
-rw-r--r--doc/bsp_howto/rtc.t12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/bsp_howto/rtc.t b/doc/bsp_howto/rtc.t
index 210e3de053..a5844e3d67 100644
--- a/doc/bsp_howto/rtc.t
+++ b/doc/bsp_howto/rtc.t
@@ -48,8 +48,8 @@ the DMV177's @code{RTC_Table} configuration table is below:
boolean dmv177_icm7170_probe(int minor);
-rtc_tbl RTC_Table[] = {
- { "/dev/rtc0", /* sDeviceName */
+rtc_tbl RTC_Table[] = @{
+ @{ "/dev/rtc0", /* sDeviceName */
RTC_ICM7170, /* deviceType */
&icm7170_fns, /* pDeviceFns */
dmv177_icm7170_probe, /* deviceProbe */
@@ -58,14 +58,14 @@ rtc_tbl RTC_Table[] = {
0, /* ulDataPort */
icm7170_get_register_8, /* getRegister */
icm7170_set_register_8, /* setRegister */
- }
-};
+ @}
+@};
unsigned long RTC_Count = (sizeof(RTC_Table)/sizeof(rtc_tbl));
rtems_device_minor_number RTC_Minor;
boolean dmv177_icm7170_probe(int minor)
-{
+@{
volatile unsigned16 *card_resource_reg;
card_resource_reg = (volatile unsigned16 *) DMV170_CARD_RESORCE_REG;
@@ -73,7 +73,7 @@ boolean dmv177_icm7170_probe(int minor)
if ( (*card_resource_reg & DMV170_RTC_INST_MASK) == DMV170_RTC_INSTALLED )
return TRUE;
return FALSE;
-}
+@}
@end example