changeset 101:ada0621d4e74

mmiBuzzer.h: bogotab fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 08 Nov 2020 22:56:39 +0000
parents 609eb8031c17
children 996ce768d987
files src/ui/bmi/mmiBuzzer.h
diffstat 1 files changed, 25 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiBuzzer.h	Sun Nov 08 22:53:20 2020 +0000
+++ b/src/ui/bmi/mmiBuzzer.h	Sun Nov 08 22:56:39 2020 +0000
@@ -1,6 +1,6 @@
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -9,14 +9,14 @@
 
 ********************************************************************************
 
- $Project name:	Basic MMI
- $Project code:	BMI (6349)
- $Module:		PhoneBook
- $File:		    MmiBuzzer.h
- $Revision:		1.0
+ $Project name: Basic MMI
+ $Project code: BMI (6349)
+ $Module:       PhoneBook
+ $File:         MmiBuzzer.h
+ $Revision:     1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -26,7 +26,7 @@
 
  $History: MmiBuzzer.h
 
-	25/10/00			Original Condat(UK) BMI version.
+    25/10/00            Original Condat(UK) BMI version.
 
  $End
 
@@ -36,36 +36,36 @@
 #if !defined(BUZZER_H)
 #define BUZZER_H
 
-#define USE_PWT	// use build in tone generator cascade.
+#define USE_PWT // use build in tone generator cascade.
 
 
-#define BUZZER_ASIC_CONF_REG		( *( ( volatile USHORT* ) 0xFFFEF008) )
-#define	BUZZER_BZ_OR_PWT			0x20	// bit 5 = 0 for BZ =1 for PWT
-#define BUZZER_FREE_BIT_CLOCK_EN			0xFF		// See HER207 Section 7.4.5
-#define BUZZER_ARMIO_CNTL			( *( ( volatile USHORT* ) 0xFFFE4806) )
+#define BUZZER_ASIC_CONF_REG        ( *( ( volatile USHORT* ) 0xFFFEF008) )
+#define BUZZER_BZ_OR_PWT            0x20    // bit 5 = 0 for BZ =1 for PWT
+#define BUZZER_FREE_BIT_CLOCK_EN    0xFF        // See HER207 Section 7.4.5
+#define BUZZER_ARMIO_CNTL           ( *( ( volatile USHORT* ) 0xFFFE4806) )
 
-#define BUZZER_ON							0x01 		// Set bit 0
-#define BUZZER_OFF							0xFE		// Reset bit 0
+#define BUZZER_ON                   0x01        // Set bit 0
+#define BUZZER_OFF                  0xFE        // Reset bit 0
 
 #ifdef USE_PWT
 
-#define PWT_FRC_REG		( *( ( volatile UBYTE* ) 0xFFFE8800) )
-#define PWT_VCR_REG		( *( ( volatile UBYTE* ) 0xFFFE8801) )
-#define PWT_CGR_REG		( *( ( volatile UBYTE* ) 0xFFFE8802) )
+#define PWT_FRC_REG     ( *( ( volatile UBYTE* ) 0xFFFE8800) )
+#define PWT_VCR_REG     ( *( ( volatile UBYTE* ) 0xFFFE8801) )
+#define PWT_CGR_REG     ( *( ( volatile UBYTE* ) 0xFFFE8802) )
 
 #define BUZZER_MAX_VOL 0x3F
 
 
 #else
 // Bit definitions in CNTL
-#define	BUZZER_SET_GPIO					0x0FDF		// Set bit 5
-#define BUZZER_FREQ_CLOCK					0xC65D40 	// 13 MHz
-#define BUZZER_2_POWER_9					0x0200		// See HER207 section 7.4.14
+#define BUZZER_SET_GPIO                 0x0FDF      // Set bit 5
+#define BUZZER_FREQ_CLOCK               0xC65D40    // 13 MHz
+#define BUZZER_2_POWER_9                0x0200      // See HER207 section 7.4.14
 
 
-#define BUZZER_LEVEL_REG			( *( ( volatile USHORT* ) 0xFFFE4812) )
-#define BUZZER_CNTL_REG				( *( ( volatile USHORT* ) 0xFFFE480E) )
-#define BUZZER_LOAD_TIM_REG			( *( ( volatile USHORT* ) 0xFFFE4808) )
+#define BUZZER_LEVEL_REG            ( *( ( volatile USHORT* ) 0xFFFE4812) )
+#define BUZZER_CNTL_REG             ( *( ( volatile USHORT* ) 0xFFFE480E) )
+#define BUZZER_LOAD_TIM_REG         ( *( ( volatile USHORT* ) 0xFFFE4808) )
 #endif