zephyr/samples
Andy Ross 220d4f8347 sys_clock.h: Make "global variable" APIs into proper functions
The existing API defined sys_clock_{hw_cycles,ticks}_per_sec as simple
"variables" to be shared, except that they were only real storage in
certain modes (the HPET driver, basically) and everywhere else they
were a build constant.

Properly, these should be an API defined by the timer driver (who
controls those rates) and consumed by the clock subsystem.  So give
them function syntax as a stepping stone to get there.

Note that this also removes the deprecated variable
_sys_clock_us_per_tick rather than give it the same treatment.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
application_development
basic tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
bluetooth tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
boards tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
cpp_synchronization tests/samples: rename 'app' tag to something meaningful 2018-10-16 09:17:51 -04:00
display samples: add sample for character framebuffer 2018-10-16 14:54:47 -04:00
drivers tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
hello_world tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
mpu tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
net sys_clock.h: Make "global variable" APIs into proper functions 2018-10-16 15:03:10 -04:00
nfc/nfc_hello tests/samples: rename 'app' tag to something meaningful 2018-10-16 09:17:51 -04:00
philosophers tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
sensor tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
shields tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
subsys tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00
synchronization tests/samples: rename 'app' tag to something meaningful 2018-10-16 09:17:51 -04:00
testing/integration
xtensa_asm2
kernel.rst
samples.rst