rtc11 2.0.0.0
RTC 11 Click Driver

API for configuring and manipulating RTC 11 Click driver. More...

Topics

 RTC 11 Registers List
 List of registers of RTC 11 Click driver.
 
 RTC 11 Registers Settings
 Settings for registers of RTC 11 Click driver.
 
 RTC 11 MikroBUS Map
 MikroBUS pin mapping of RTC 11 Click driver.
 

Functions

void rtc11_cfg_setup (rtc11_cfg_t *cfg)
 RTC 11 configuration object setup function.
 
err_t rtc11_init (rtc11_t *ctx, rtc11_cfg_t *cfg)
 RTC 11 initialization function.
 
void rtc11_generic_write (rtc11_t *ctx, uint8_t reg, uint8_t *wr_data, uint16_t n_len)
 RTC 11 data writing function.
 
void rtc11_generic_read (rtc11_t *ctx, uint8_t reg, uint8_t *rd_data, uint16_t n_len)
 RTC 11 data reading function.
 
uint8_t rtc11_check_irq_1 (rtc11_t *ctx)
 Check Interrupt 1 pin function.
 
uint8_t rtc11_check_irq_2 (rtc11_t *ctx)
 Check Interrupt 2 pin function.
 
void rtc11_wdi (rtc11_t *ctx, uint8_t state)
 Watchdog reset function.
 
void rtc11_ext_int (rtc11_t *ctx, uint8_t state)
 External interrupt function.
 
void rtc11_set_time_hundredths (rtc11_t *ctx, uint8_t hundredths)
 Set hundredths function.
 
void rtc11_set_time_seconds (rtc11_t *ctx, uint8_t seconds)
 Set seconds function.
 
void rtc11_set_time_minutes (rtc11_t *ctx, uint8_t minutes)
 Set minutes function.
 
void rtc11_set_time_hours (rtc11_t *ctx, uint8_t hours)
 Set hours function.
 
uint8_t rtc11_get_time_hundredths (rtc11_t *ctx)
 Get hundredths function.
 
uint8_t rtc11_get_time_seconds (rtc11_t *ctx)
 Get seconds function.
 
uint8_t rtc11_get_time_minutes (rtc11_t *ctx)
 Get minutes function.
 
uint8_t rtc11_get_time_hours (rtc11_t *ctx)
 Get hours function.
 
uint8_t rtc11_get_date_day (rtc11_t *ctx)
 Get day function.
 
void rtc11_set_date_day (rtc11_t *ctx, uint8_t date_day)
 Set day function.
 
uint8_t rtc11_get_date_month (rtc11_t *ctx)
 Get month function.
 
void rtc11_set_date_month (rtc11_t *ctx, uint8_t date_mth)
 Set month function.
 
uint8_t rtc11_get_date_year (rtc11_t *ctx)
 Get year function.
 
void rtc11_set_date_year (rtc11_t *ctx, uint16_t date_yrs)
 Set year function.
 
uint8_t rtc11_get_century_flag (rtc11_t *ctx)
 Get century flag function.
 
uint8_t rtc11_get_day_of_the_week (rtc11_t *ctx)
 Get day of the week function.
 
void rtc11_set_day_of_the_week (rtc11_t *ctx, uint8_t w_day)
 Set day of the week function.
 
void rtc11_set_ala_time_hundredths (rtc11_t *ctx, uint8_t hundredths)
 Set alarm time hundredths function.
 
void rtc11_set_ala_time_seconds (rtc11_t *ctx, uint8_t seconds)
 Set alarm time seconds function.
 
void rtc11_set_ala_time_minutes (rtc11_t *ctx, uint8_t minutes)
 Set alarm time minutes function.
 
void rtc11_set_ala_time_hours (rtc11_t *ctx, uint8_t hours)
 Set alarm time hours function.
 
uint8_t rtc11_get_ala_time_hundredths (rtc11_t *ctx)
 Get alarm time hundredths function.
 
uint8_t rtc11_get_ala_time_seconds (rtc11_t *ctx)
 Get alarm time seconds function.
 
uint8_t rtc11_get_ala_time_minutes (rtc11_t *ctx)
 Get alarm time minutes function.
 
uint8_t rtc11_get_ala_time_hours (rtc11_t *ctx)
 Get alarm time hours function.
 
uint8_t rtc11_get_ala_date_day (rtc11_t *ctx)
 Get alarm time days function.
 
void rtc11_set_ala_date_day (rtc11_t *ctx, uint8_t date_day)
 Set alarm time day function.
 
uint8_t rtc11_get_ala_date_month (rtc11_t *ctx)
 Get alarm time month function.
 
void rtc11_set_ala_date_month (rtc11_t *ctx, uint8_t date_mth)
 Set alarm time month function.
 
uint8_t rtc11_get_ala_day_of_the_week (rtc11_t *ctx)
 Get alarm time day of the week function.
 
void rtc11_set_ala_day_of_the_week (rtc11_t *ctx, uint8_t w_day)
 Set alarm time day of the week function.
 
void rtc11_soft_rst (rtc11_t *ctx)
 Software Reset function.
 
err_t rtc11_set_time (rtc11_t *ctx, rtc11_time_t rtc_time)
 Set time hours, minutes and seconds function.
 
void rtc11_get_time (rtc11_t *ctx, rtc11_time_t *rtc_time)
 Get time hours, minutes and seconds function.
 
err_t rtc11_set_date (rtc11_t *ctx, rtc11_date_t rtc_date)
 Set date day of the week, day, month and year function.
 
void rtc11_get_date (rtc11_t *ctx, rtc11_date_t *rtc_date)
 Get date day of the week, day, month and year function.
 
void rtc11_stp_sys_slk (rtc11_t *ctx, uint8_t state)
 Stop the clocking system function.
 
void rtc11_auto_rst (rtc11_t *ctx, uint8_t state)
 Auto reset enable function.
 
void rtc11_write_rtc (rtc11_t *ctx, uint8_t state)
 Write RTC enable function.
 
void rtc11_cen_en (rtc11_t *ctx, uint8_t state)
 Century Enable function.
 
void rtc11_bat_low_int_en (rtc11_t *ctx, uint8_t state)
 Battery Low Interrupt Enable function.
 
void rtc11_timer_int_en (rtc11_t *ctx, uint8_t state)
 Timer Interrupt Enable function.
 
void rtc11_alarm_int_en (rtc11_t *ctx, uint8_t state)
 Alarm Interrupt Enable function.
 
void rtc11_xt2_int_en (rtc11_t *ctx, uint8_t state)
 XT2 Interrupt Enable function.
 
void rtc11_xt1_int_en (rtc11_t *ctx, uint8_t state)
 XT1 Interrupt Enable function.
 
void rtc11_bat_mode_en (rtc11_t *ctx, uint8_t state)
 Batmode enable function.
 

Detailed Description

API for configuring and manipulating RTC 11 Click driver.

Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.

Function Documentation

◆ rtc11_alarm_int_en()

void rtc11_alarm_int_en ( rtc11_t * ctx,
uint8_t state )

Alarm Interrupt Enable function.

Function is used to enable or disable Alarm Interrupt.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_auto_rst()

void rtc11_auto_rst ( rtc11_t * ctx,
uint8_t state )

Auto reset enable function.

Function is used to enable or disable auto reset interrupt flags.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_bat_low_int_en()

void rtc11_bat_low_int_en ( rtc11_t * ctx,
uint8_t state )

Battery Low Interrupt Enable function.

Function is used to enable or disable Battery Low Interrupt.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_bat_mode_en()

void rtc11_bat_mode_en ( rtc11_t * ctx,
uint8_t state )

Batmode enable function.

Function is used to enable or disable the I/O interface when a Brownout Detection occurs.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_cen_en()

void rtc11_cen_en ( rtc11_t * ctx,
uint8_t state )

Century Enable function.

Function is used to enable or disable Century Enable Interrupt.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_cfg_setup()

void rtc11_cfg_setup ( rtc11_cfg_t * cfg)

RTC 11 configuration object setup function.

This function initializes click configuration structure to initial values.

Parameters
[out]cfg: Click configuration structure. See rtc11_cfg_t object definition for detailed explanation.
Returns
Nothing.
Note
The all used pins will be set to unconnected state.

◆ rtc11_check_irq_1()

uint8_t rtc11_check_irq_1 ( rtc11_t * ctx)

Check Interrupt 1 pin function.

Function is used to check if an interrupt has occured.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Interrupt 1 pin state
Note
Pin state depends on applied settings.

◆ rtc11_check_irq_2()

uint8_t rtc11_check_irq_2 ( rtc11_t * ctx)

Check Interrupt 2 pin function.

Function is used to check if an interrupt has occured.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Interrupt 2 pin state
Note
Pin state depends on applied settings.

◆ rtc11_ext_int()

void rtc11_ext_int ( rtc11_t * ctx,
uint8_t state )

External interrupt function.

Function is used to set the state of the External interrupt input pin.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value defines the state of the pin.
Returns
Nothing.

◆ rtc11_generic_read()

void rtc11_generic_read ( rtc11_t * ctx,
uint8_t reg,
uint8_t * rd_data,
uint16_t n_len )

RTC 11 data reading function.

This function reads a desired number of data bytes starting from the selected register by using SPI serial interface.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]reg: Start register address.
[out]rd_data: Output read data.
[in]n_len: Number of bytes to be read.
Returns
Nothing.

◆ rtc11_generic_write()

void rtc11_generic_write ( rtc11_t * ctx,
uint8_t reg,
uint8_t * wr_data,
uint16_t n_len )

RTC 11 data writing function.

This function writes a desired number of data bytes starting from the selected register by using SPI serial interface.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]reg: Start register address.
[in]wr_data: Data to be written.
[in]n_len: Number of bytes to be written.
Returns
Nothing.

◆ rtc11_get_ala_date_day()

uint8_t rtc11_get_ala_date_day ( rtc11_t * ctx)

Get alarm time days function.

Function is used to get the alarm time days.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value alarm time days.

◆ rtc11_get_ala_date_month()

uint8_t rtc11_get_ala_date_month ( rtc11_t * ctx)

Get alarm time month function.

Function is used to get the alarm time month.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value alarm time month.

◆ rtc11_get_ala_day_of_the_week()

uint8_t rtc11_get_ala_day_of_the_week ( rtc11_t * ctx)

Get alarm time day of the week function.

Function is used to get the alarm time day of the week.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value alarm time day of the week.

◆ rtc11_get_ala_time_hours()

uint8_t rtc11_get_ala_time_hours ( rtc11_t * ctx)

Get alarm time hours function.

Function is used to get the alarm time hours.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value alarm time hours.

◆ rtc11_get_ala_time_hundredths()

uint8_t rtc11_get_ala_time_hundredths ( rtc11_t * ctx)

Get alarm time hundredths function.

Function is used to get the alarm time hundredths of a second.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value alarm time hundredths of a second.

◆ rtc11_get_ala_time_minutes()

uint8_t rtc11_get_ala_time_minutes ( rtc11_t * ctx)

Get alarm time minutes function.

Function is used to get the alarm time minutes.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value alarm time minutes.

◆ rtc11_get_ala_time_seconds()

uint8_t rtc11_get_ala_time_seconds ( rtc11_t * ctx)

Get alarm time seconds function.

Function is used to get the alarm time seconds.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value alarm time seconds.

◆ rtc11_get_century_flag()

uint8_t rtc11_get_century_flag ( rtc11_t * ctx)

Get century flag function.

Function is used to get the century flag.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines century flag.

◆ rtc11_get_date()

void rtc11_get_date ( rtc11_t * ctx,
rtc11_date_t * rtc_date )

Get date day of the week, day, month and year function.

Function is used to get system date.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[out]rtc_date: Date structure See rtc11_date_t object definition for detailed explanation.
Returns
Nothing.

◆ rtc11_get_date_day()

uint8_t rtc11_get_date_day ( rtc11_t * ctx)

Get day function.

Function is used to get the days.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines days.

◆ rtc11_get_date_month()

uint8_t rtc11_get_date_month ( rtc11_t * ctx)

Get month function.

Function is used to get the month

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines month.

◆ rtc11_get_date_year()

uint8_t rtc11_get_date_year ( rtc11_t * ctx)

Get year function.

Function is used to get the year.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines year.

◆ rtc11_get_day_of_the_week()

uint8_t rtc11_get_day_of_the_week ( rtc11_t * ctx)

Get day of the week function.

Function is used to get the day of the week.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
result value defines day of the week.

◆ rtc11_get_time()

void rtc11_get_time ( rtc11_t * ctx,
rtc11_time_t * rtc_time )

Get time hours, minutes and seconds function.

Function is used to get current system time.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[out]rtc_time: Time structure See rtc11_time_t object definition for detailed explanation.
Returns
Nothing.

◆ rtc11_get_time_hours()

uint8_t rtc11_get_time_hours ( rtc11_t * ctx)

Get hours function.

Function is used to get the hours.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines hours.

◆ rtc11_get_time_hundredths()

uint8_t rtc11_get_time_hundredths ( rtc11_t * ctx)

Get hundredths function.

Function is used to get the hundredths of a second.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines hundredths of a second.

◆ rtc11_get_time_minutes()

uint8_t rtc11_get_time_minutes ( rtc11_t * ctx)

Get minutes function.

Function is used to get the minutes.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines minutes.

◆ rtc11_get_time_seconds()

uint8_t rtc11_get_time_seconds ( rtc11_t * ctx)

Get seconds function.

Function is used to get the seconds.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Result value defines seconds.

◆ rtc11_init()

err_t rtc11_init ( rtc11_t * ctx,
rtc11_cfg_t * cfg )

RTC 11 initialization function.

This function initializes all necessary pins and peripherals used for this click board.

Parameters
[out]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]cfg: Click configuration structure. See rtc11_cfg_t object definition for detailed explanation.
Returns
  • 0 - Success,
  • -1 - Error.
See #err_t definition for detailed explanation.
Note
None.

◆ rtc11_set_ala_date_day()

void rtc11_set_ala_date_day ( rtc11_t * ctx,
uint8_t date_day )

Set alarm time day function.

Function is used to set alarm time days.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]date_day: Value defines alarm time day.
Returns
Nothing.

◆ rtc11_set_ala_date_month()

void rtc11_set_ala_date_month ( rtc11_t * ctx,
uint8_t date_mth )

Set alarm time month function.

Function is used to set alarm time months.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]date_mth: Value defines alarm time month.
Returns
Nothing.

◆ rtc11_set_ala_day_of_the_week()

void rtc11_set_ala_day_of_the_week ( rtc11_t * ctx,
uint8_t w_day )

Set alarm time day of the week function.

Function is used to set alarm time day of the week.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]w_day: Value defines alarm time day of the week.
Returns
Nothing.

◆ rtc11_set_ala_time_hours()

void rtc11_set_ala_time_hours ( rtc11_t * ctx,
uint8_t hours )

Set alarm time hours function.

Function is used to set alarm time hours.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]hours: Value defines alarm time hours.
Returns
Nothing.

◆ rtc11_set_ala_time_hundredths()

void rtc11_set_ala_time_hundredths ( rtc11_t * ctx,
uint8_t hundredths )

Set alarm time hundredths function.

Function is used to set alarm time hundredths of a second.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]hundredths: Value defines alarm time hundredths of a second.
Returns
Nothing.

◆ rtc11_set_ala_time_minutes()

void rtc11_set_ala_time_minutes ( rtc11_t * ctx,
uint8_t minutes )

Set alarm time minutes function.

Function is used to set alarm time minutes.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]minutes: Value defines alarm time minutes.
Returns
Nothing.

◆ rtc11_set_ala_time_seconds()

void rtc11_set_ala_time_seconds ( rtc11_t * ctx,
uint8_t seconds )

Set alarm time seconds function.

Function is used to set alarm time seconds.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]seconds: Value defines alarm time seconds.
Returns
Nothing.

◆ rtc11_set_date()

err_t rtc11_set_date ( rtc11_t * ctx,
rtc11_date_t rtc_date )

Set date day of the week, day, month and year function.

Function is used to set system date.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]rtc_date: Date structure See rtc11_date_t object definition for detailed explanation.
Returns
  • 0 - Success,
  • -1 - Error.
See #err_t definition for detailed explanation.

◆ rtc11_set_date_day()

void rtc11_set_date_day ( rtc11_t * ctx,
uint8_t date_day )

Set day function.

Function is used to set the days.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]date_day: Value defines days.
Returns
Nothing.

◆ rtc11_set_date_month()

void rtc11_set_date_month ( rtc11_t * ctx,
uint8_t date_mth )

Set month function.

Function is used to set the month

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]date_mth: Value defines month.
Returns
Nothing.

◆ rtc11_set_date_year()

void rtc11_set_date_year ( rtc11_t * ctx,
uint16_t date_yrs )

Set year function.

Function is used to set the year.

Parameters
[in]date_yrsvalue defines year.
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Nothing.

◆ rtc11_set_day_of_the_week()

void rtc11_set_day_of_the_week ( rtc11_t * ctx,
uint8_t w_day )

Set day of the week function.

Function is used to set the day of the week.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]w_dayvalue defines day of the week.
Returns
Nothing.

◆ rtc11_set_time()

err_t rtc11_set_time ( rtc11_t * ctx,
rtc11_time_t rtc_time )

Set time hours, minutes and seconds function.

Function is used to set system time.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]rtc_time: Time structure See rtc11_time_t object definition for detailed explanation.
Returns
  • 0 - Success,
  • -1 - Error.
See #err_t definition for detailed explanation.

◆ rtc11_set_time_hours()

void rtc11_set_time_hours ( rtc11_t * ctx,
uint8_t hours )

Set hours function.

Function is used to set the hours.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]hours: Value defines hours.
Returns
Nothing.

◆ rtc11_set_time_hundredths()

void rtc11_set_time_hundredths ( rtc11_t * ctx,
uint8_t hundredths )

Set hundredths function.

Function is used to set the hundredths of a second.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]hundredths: Value defines the hundredths of a second.
Returns
Nothing.

◆ rtc11_set_time_minutes()

void rtc11_set_time_minutes ( rtc11_t * ctx,
uint8_t minutes )

Set minutes function.

Function is used to set the minutes.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]minutes: Value defines minutes.
Returns
Nothing.

◆ rtc11_set_time_seconds()

void rtc11_set_time_seconds ( rtc11_t * ctx,
uint8_t seconds )

Set seconds function.

Function is used to set the seconds.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]seconds: Value defines seconds.
Returns
Nothing.

◆ rtc11_soft_rst()

void rtc11_soft_rst ( rtc11_t * ctx)

Software Reset function.

Function is used to perform software reset.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
Returns
Nothing.

◆ rtc11_stp_sys_slk()

void rtc11_stp_sys_slk ( rtc11_t * ctx,
uint8_t state )

Stop the clocking system function.

Function is used to start or stop clocking system.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_timer_int_en()

void rtc11_timer_int_en ( rtc11_t * ctx,
uint8_t state )

Timer Interrupt Enable function.

Function is used to enable or disable Timer Interrupt.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_wdi()

void rtc11_wdi ( rtc11_t * ctx,
uint8_t state )

Watchdog reset function.

Function is used to set the state of the Watchdog reset input pin.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value defines the state of the pin.
Returns
Nothing.

◆ rtc11_write_rtc()

void rtc11_write_rtc ( rtc11_t * ctx,
uint8_t state )

Write RTC enable function.

Function is used to enable or disable write to RTC.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_xt1_int_en()

void rtc11_xt1_int_en ( rtc11_t * ctx,
uint8_t state )

XT1 Interrupt Enable function.

Function is used to enable or disable XT1 Interrupt Enable.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.

◆ rtc11_xt2_int_en()

void rtc11_xt2_int_en ( rtc11_t * ctx,
uint8_t state )

XT2 Interrupt Enable function.

Function is used to enable or disable XT2 Interrupt Enable.

Parameters
[in]ctx: Click context object. See rtc11_t object definition for detailed explanation.
[in]state: Value enables or disables the property.
Returns
Nothing.