icsSpyTime Structure

Structure for GetRTC and SetRTC

C/C++ Declare

typedef struct
{
  unsigned char sec;
  unsigned char min;
  unsigned char hour;
  unsigned char day;
  unsigned char month;
  unsigned char year;
}icsSpyTime;

Visual Basic .NET Declare

<StructLayout(LayoutKind.Sequential, Pack:=8)> Public Structure icsSpyTime
  Dim sec As Byte
  Dim min As Byte
  Dim hour As Byte
  Dim day As Byte
  Dim month As Byte
  Dim year As Byte
End Structure

C# .NET Declare

[StructLayout(LayoutKind.Sequential,Pack=8)]
public struct icsSpyTime
{
  public byte sec;
  public byte min;
  public byte hour;
  public byte day;
  public byte month;
  public byte year;
}

Remarks

Item

Description

sec

Seconds place to read or set

min

Minutes place to read or set

hour

Hours place to read or set

day

Day place to read or set

month

Month place to read or set

year

Year Place to read or set