| ioPAC RTU Controllers C/C++ Sample Code Programming Guide

- Main Page
- Modules
- Data Structures
- Files

Functions
RTC
Library » Misc

## Functions
MISC_ERR_CODE | MX_RTU_RTC_Get (struct rtc_time *rtc)
MISC_ERR_CODE | MX_RTU_RTC_Set (struct rtc_time *rtc)

## Detailed Description

Sample Code:
rtc.c

## Function Documentation

MISC_ERR_CODE MX_RTU_RTC_Get | ( | struct rtc_time * | rtc | ) |

Parameters

  [out] | rtc | The Real Time Clock (RTC) has a resolution of 1 second.

Returns
  MISC_ERR_CODE

MISC_ERR_CODE MX_RTU_RTC_Set | ( | struct rtc_time * | rtc | ) |

Parameters

  [in] | rtc | The Real Time Clock (RTC) has a resolution of 1 second.

Returns
  MISC_ERR_CODE