netxduo
date_2_chars_to_int
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
netxduo
date_2_chars_to_int
date_2_chars_to_int macro
Syntax
Show:
Summary
Declaration
from
nx_secure_x509_expiration_check.c:120
#define
date_2_chars_to_int
(
buffer
,
index
)
(
LONG
)
(
(
(
buffer
[
index
]
-
'0'
)
*
10
)
+
(
buffer
[
index
+
1
]
-
'0'
)
)
Arguments
Argument
buffer
index
Examples
References
from
examples
Code
Location
#define
date_2_chars_to_int
(
buffer
,
index
)
(
LONG
)
(
(
(
buffer
[
index
]
-
'0'
)
*
10
)
+
(
buffer
[
index
+
1
]
-
'0'
)
)
nx_secure_x509_expiration_check.c:120
year
=
date_2_chars_to_int
(
asn1_time
,
0
)
;
nx_secure_x509_expiration_check.c:183
month
=
date_2_chars_to_int
(
asn1_time
,
2
)
;
nx_secure_x509_expiration_check.c:184
day
=
date_2_chars_to_int
(
asn1_time
,
4
)
-
1
;
/* For calculations, day is 0-based. */
nx_secure_x509_expiration_check.c:185
hour
=
date_2_chars_to_int
(
asn1_time
,
6
)
;
nx_secure_x509_expiration_check.c:186
minute
=
date_2_chars_to_int
(
asn1_time
,
8
)
;
nx_secure_x509_expiration_check.c:187
second
=
date_2_chars_to_int
(
asn1_time
,
index
)
;
nx_secure_x509_expiration_check.c:196
hour
-=
date_2_chars_to_int
(
asn1_time
,
index
)
;
nx_secure_x509_expiration_check.c:208
minute
-=
date_2_chars_to_int
(
asn1_time
,
index
)
;
nx_secure_x509_expiration_check.c:210
hour
+=
date_2_chars_to_int
(
asn1_time
,
index
)
;
nx_secure_x509_expiration_check.c:216
minute
+=
date_2_chars_to_int
(
asn1_time
,
index
)
;
nx_secure_x509_expiration_check.c:218
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out