comparison packages/kernel/current/include/kapi.h @ 181:d61da071934c

Merge from eCos master repository on 2001-08-22-06:38:55-BST
author jlarmour
date Wed, 22 Aug 2001 06:27:14 +0000
parents 391299f9e541
children e0c0827131d1
comparison
equal deleted inserted replaced
180:2bdd82a025e1 181:d61da071934c
331 331
332 /* Advance counter by one tick */ 332 /* Advance counter by one tick */
333 void cyg_counter_tick(cyg_handle_t counter); 333 void cyg_counter_tick(cyg_handle_t counter);
334 334
335 335
336 #define CYG_RESOLUTION_T_MEMBERS \
337 cyg_uint32 dividend; \
338 cyg_uint32 divisor;
339
336 typedef struct 340 typedef struct
337 { 341 {
338 cyg_uint32 dividend; 342 CYG_RESOLUTION_T_MEMBERS
339 cyg_uint32 divisor;
340 } cyg_resolution_t; 343 } cyg_resolution_t;
341 344
342 /* Create a clock object */ 345 /* Create a clock object */
343 void cyg_clock_create( 346 void cyg_clock_create(
344 cyg_resolution_t resolution, /* Initial resolution */ 347 cyg_resolution_t resolution, /* Initial resolution */