libspiagentspiagent_timer_get Method |
Retrieve the contents of an LPC1114 hardware timer's counter register.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2026.331.1
Syntaxpublic static void spiagent_timer_get(
uint timer,
out uint count,
out int error
)
Parameters
- timer UInt32
- Hardware timer ID.
- count UInt32
- Set to the contents of the counter register.
- error Int32
- Set to 0 upon success, or an
errno
error number upon failure.
See Also