RP.RTC

Entities

Record Types

Tagged Types

Subprograms

Description

Alarm

function Alarm
   (This : RTC_Device)
   return Boolean
Parameters
This
Return Value

Configure

procedure Configure
   (This : in out RTC_Device)
Parameters
This

Disable_Alarm

procedure Disable_Alarm
   (This : in out RTC_Device)
Parameters
This

Enable_Alarm

procedure Enable_Alarm
   (This : in out RTC_Device;
    Time : HAL.Real_Time_Clock.RTC_Time;
    Date : HAL.Real_Time_Clock.RTC_Date;
    Mask : RTC_Alarm_Mask)
Parameters
This
Time
Date
Mask

Get

procedure Get
   (This : in out RTC_Device;
    Time : out HAL.Real_Time_Clock.RTC_Time;
    Date : out HAL.Real_Time_Clock.RTC_Date)
Parameters
This
Time
Date

Get_Date

function Get_Date
   (This : RTC_Device)
   return HAL.Real_Time_Clock.RTC_Date
Parameters
This
Return Value

Get_Time

function Get_Time
   (This : RTC_Device)
   return HAL.Real_Time_Clock.RTC_Time
Parameters
This
Return Value

Pause

procedure Pause
   (This : in out RTC_Device)
Parameters
This

Resume

procedure Resume
   (This : in out RTC_Device)
Parameters
This

RTC_Alarm_Mask

type RTC_Alarm_Mask is record
   Year        : Boolean := True;
   Month       : Boolean := True;
   Day         : Boolean := True;
   Day_Of_Week : Boolean := True;
   Hour        : Boolean := True;
   Min         : Boolean := True;
   Sec         : Boolean := True;
end record;
Record fields
Year
Month
Day
Day_Of_Week
Hour
Min
Sec

RTC_Device

type RTC_Device is new HAL.Real_Time_Clock.RTC_Device with null record;

Running

function Running
   (This : RTC_Device)
   return Boolean
Parameters
This
Return Value

Set

procedure Set
   (This : in out RTC_Device;
    Time : HAL.Real_Time_Clock.RTC_Time;
    Date : HAL.Real_Time_Clock.RTC_Date)
Parameters
This
Time
Date