arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

icsSpyTime Structure

Structure for GetRTC and SetRTC

typedef struct
{
  unsigned char sec;
<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
[StructLayout(LayoutKind.Sequential,Pack=8)]

Remarks

Item
Description
unsigned char min;
unsigned char hour;
unsigned char day;
unsigned char month;
unsigned char year;
}icsSpyTime;
public struct icsSpyTime
{
public byte sec;
public byte min;
public byte hour;
public byte day;
public byte month;
public byte year;
}

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