RTC

RTC_Init

{{#Widget:LibTable}}
Defination This function is used to Initialize the Ds1307 RTC.
Input Arguments none
Return Value none
Description This function is used to Initialize the Ds1307 RTC.
Usage RTC_Init();



RTC_SetTime

{{#Widget:LibTable}}
Defination
  1. void RTC_SetTime(uint8_t var_hour_u8, uint8_t var_min_u8, uint8_t var_sec_u8)<syntaxhighlight>
  2. |-
  3. | Input Arguments || <syntaxhighlight lang = "c">uint8_t: Hour (0x00-0x23) BCD format
  4. uint8_t: Minute (0x00-0x59) BCD format
  5. uint8_t: Second (0x00-0x59) BCD format<syntaxhighlight>
  6. |-
  7. | Return Value||
  8. |-
  9. | Description ||
  10. |-
  11. | Usage ||
  12. |}
  13.  
  14.  
  15.  
  16.  
  17. ==RTC_SetDate==
  18. {|{{Widget:LibCol}}
  19. {{#Widget:LibTable}}
  20. |-
  21. |Defination ||
  22. |-
  23. | Input Arguments ||
  24. |-
  25. | Return Value||
  26. |-
  27. | Description ||
  28. |-
  29. | Usage ||
  30. |}
  31.  
  32.  
  33.  
  34.  
  35. ==RTC_GetTime==
  36. {|{{Widget:LibCol}}
  37. {{#Widget:LibTable}}
  38. |-
  39. |Defination ||
  40. |-
  41. | Input Arguments ||
  42. |-
  43. | Return Value||
  44. |-
  45. | Description ||
  46. |-
  47. | Usage ||
  48. |}
  49.  
  50.  
  51.  
  52.  
  53. ==RTC_GetDate==
  54. {|{{Widget:LibCol}}
  55. {{#Widget:LibTable}}
  56. |-
  57. |Defination ||
  58. |-
  59. | Input Arguments ||
  60. |-
  61. | Return Value||
  62. |-
  63. | Description ||
  64. |-
  65. | Usage ||
  66. |}
  67.  
  68.  
  69.  
  70. ==User Guide==