Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1216 Datasheet(PDF) 4 Page - STMicroelectronics

Part # AN1216
Description  Implementing a periodic alarm with TIMEKEEPER
Download  11 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1216 Datasheet(HTML) 4 Page - STMicroelectronics

  AN1216 Datasheet HTML 1Page - STMicroelectronics AN1216 Datasheet HTML 2Page - STMicroelectronics AN1216 Datasheet HTML 3Page - STMicroelectronics AN1216 Datasheet HTML 4Page - STMicroelectronics AN1216 Datasheet HTML 5Page - STMicroelectronics AN1216 Datasheet HTML 6Page - STMicroelectronics AN1216 Datasheet HTML 7Page - STMicroelectronics AN1216 Datasheet HTML 8Page - STMicroelectronics AN1216 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 11 page
background image
AN1216
4/11
DocID007016 Rev 2
For example, to set a period of 1 hour 49 minutes 35 seconds, the procedure is as follows:
RPT4 = 1
RPT3 = RPT2 = RPT1 = 0
alarm_second = 0x35
alarm_minute = 0x49
alarm_hour = 0x01
Or, to set a period of 49 minutes 35 seconds, the procedure is as follows:
RPT4 = RPT3 = 1
RPT2 = RPT1 = 0
alarm_second = 0x35
alarm_minute = 0x49
alarm_hour = Don’t care
Software implementation
TIMEKEEPER® data format
TIMEKEEPER data is held as BCD (binary coded decimal). This is handled in the C
programming language using the ‘unsigned char’ data type. This can be converted within
the C program to other data types, such as ‘integer’, for numeric processing. Two functions
are provided in the program at the end of this document for making this conversion.
Char_To_Int: to take a BCD parameter, and to return the equivalent integer value
Int_To_Char: to take an integer parameter, and to return the equivalent BCD value.
The valid ranges for the alarm fields are summarized in Table 4.
Table 3. Bit setting to control the period of the repeated alarm
RPT4 RPT3 RPT2 RPT1
Periodic alarm activated every
1111
1 second
1
1
1
0
alarm_second seconds (less than 1 minute)
1
1
0
0
alarm_minute minutes alarm_second seconds (less than 1 hour)
1
0
0
0
alarm_hour hours alarm_minute minutes alarm_second seconds (less than 1 day)
Table 4. TIMEKEEPER® data format
Data C language type
Int (integer)
decimal
Char (character)
hexadecimal
Char (character)
BCD
Alarm second
0-59
00-3B
0-59


Similar Part No. - AN1216

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN1213 STMICROELECTRONICS-AN1213 Datasheet
118Kb / 7P
   OUTPUT PROTECTION CHARACTERISATION
AN1214 STMICROELECTRONICS-AN1214 Datasheet
77Kb / 6P
   DESIGN TIPS FOR L6561 POWER FACTOR CORRECTOR
AN1215 STMICROELECTRONICS-AN1215 Datasheet
68Kb / 7P
   HOW TO HANDLE SHORT CIRCUIT CONDITIONS
logo
Freescale Semiconductor...
AN1218 FREESCALE-AN1218 Datasheet
1Mb / 56P
   HC05 to HC08 Optimization
More results

Similar Description - AN1216

ManufacturerPart #DatasheetDescription
logo
OKI electronic componet...
MSM6542-01 OKI-MSM6542-01 Datasheet
378Kb / 54P
   REAL TIME CLOCK WITH PERIODIC AND ALARM OUTPUT
logo
Microchip Technology
AN597 MICROCHIP-AN597 Datasheet
63Kb / 8P
   Implementing Ultrasonic Ranging
1995
logo
Dallas Semiconductor
DS1286 DALLAS-DS1286 Datasheet
234Kb / 13P
   Watchdog Timekeeper
logo
STMicroelectronics
AN2979 STMICROELECTRONICS-AN2979 Datasheet
294Kb / 12P
   Implementing a simple ADC using the STM8L101xx comparator
logo
Holtek Semiconductor In...
HT1380 HOLTEK-HT1380 Datasheet
183Kb / 10P
   Serial Timekeeper Chip
HT1381-8SOPLF HOLTEK-HT1381-8SOPLF Datasheet
172Kb / 10P
   Serial Timekeeper Chip
logo
STMicroelectronics
M48T212V STMICROELECTRONICS-M48T212V_07 Datasheet
312Kb / 35P
   3.3V TIMEKEEPER supervisor
logo
ARTSCHIP ELECTRONICS CO...
M48T08 ARTSCHIP-M48T08 Datasheet
7Mb / 27P
   TIMEKEEPER SRAM
DS1286 ARTSCHIP-DS1286 Datasheet
538Kb / 11P
   Watchdog Timekeeper
logo
STMicroelectronics
STEVAL-ILL071V1 STMICROELECTRONICS-STEVAL-ILL071V1 Datasheet
899Kb / 6P
   Periodic self-tuning possible
March 2015 Rev 1
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com