Hilscher netX microcontroller driver  V0.0.5.0
Documentation of the netX driver package
systime_app_Type Struct Reference

systime_app (systime_app) More...

#include <netx90_app.h>

Collaboration diagram for systime_app_Type:
Collaboration graph

Data Fields

union {
   __IOM uint32_t   systime_s
 
   struct {
      __IOM uint32_t   systime_s: 32
 
   }   systime_s_b
 
}; 
 
union {
   __IOM uint32_t   systime_ns
 
   struct {
      __IOM uint32_t   systime_ns: 32
 
   }   systime_ns_b
 
}; 
 
union {
   __IOM uint32_t   systime_border
 
   struct {
      __IOM uint32_t   systime_border: 32
 
   }   systime_border_b
 
}; 
 
union {
   __IOM uint32_t   systime_count_value
 
   struct {
      __IOM uint32_t   systime_count_value: 32
 
   }   systime_count_value_b
 
}; 
 

Detailed Description

systime_app (systime_app)

Definition at line 25424 of file netx90_app.h.

Field Documentation

union { ... }

< (@ 0xFF8016C0) systime_app Structure

union { ... }
union { ... }
union { ... }
__IOM uint32_t systime_app_Type::systime_border

(@ 0x00000008) SYSTIME border register

[31..0] Systime border for lower systime: systime_ns counts from 0 to this value (inlcuded), i.e. systime_ns counts modulo (systime_border + 1) Attention: the border value Bit 3 to 1 must be b'1111 (hex f) for all netX systime

  • match functions

Definition at line 25462 of file netx90_app.h.

struct { ... } systime_app_Type::systime_border_b
__IOM uint32_t systime_app_Type::systime_count_value

(@ 0x0000000C) SYSTIME count register

[31..0] Each clock cycle (systime_count_value >> 28) will be added to systime (rate multiplier for IEEE1588). Value 0x10000000 can be used for counting in 10ns (ethernet clock) steps.

Definition at line 25474 of file netx90_app.h.

struct { ... } systime_app_Type::systime_count_value_b
__IOM uint32_t systime_app_Type::systime_ns

(@ 0x00000004) Lower SYSTIME register: To allow consistent values of systime_s and systime_ns, lower bits of systime is latched to systime_ns, when systime_s is read. If no systime_s is read before (or at 2nd read access of systime_ns), the actual value of systime_ns is read. This register should be dedicated to accesses via DPM. ARM software should access systime via arm_timer_systime_ns. xPIC software should access systime via xpic_timer_systime_ns.

[31..0] Systime low: Sample systime_ns at read access to systime_s. Without sample read systime_s, read the actual value of systime_ns.

Definition at line 25443 of file netx90_app.h.

struct { ... } systime_app_Type::systime_ns_b
__IOM uint32_t systime_app_Type::systime_s

(@ 0x00000000) Upper SYSTIME register: To allow consistent values of systime_s and systime_ns, lower bits of systime is latched to systime_ns, when systime_s is read. This register should be dedicated to accesses via DPM. ARM software should access systime via arm_timer_systime_s. xPIC software should access systime via xpic_timer_systime_s.

[31..0] systime high value is incremented, if systime_ns reaches systime_border Sample systime_ns at read access to systime_s.

Definition at line 25427 of file netx90_app.h.

struct { ... } systime_app_Type::systime_s_b

The documentation for this struct was generated from the following file: