56 #include <rtems/test.h> 176 static void RtemsEventReqEventConstant_Wrap(
197 T_step_rsc_success( 2, sc );
198 T_step_eq_u32( 3, out, 0 );
207 T_step_rsc_success( 4, sc );
208 T_step_eq_u32( 5, out, 0 );
218 T_step_eq_u32( 7, out, 0 );
228 T_step_eq_u32( 9, out, 0 );
231 T_step_rsc_success( 10, sc );
240 T_step_rsc_success( 11, sc );
241 T_step_eq_u32( 12, out, event );
250 T_step_rsc_success( 13, sc );
251 T_step_eq_u32( 14, out, 0 );
260 T_step_rsc_success( 15, sc );
261 T_step_eq_u32( 16, out, event );
271 T_step_eq_u32( 18, out, 0 );
274 T_step_rsc_success( 19, sc );
283 T_step_rsc_success( 20, sc );
284 T_step_eq_u32( 21, out, 0 );
293 T_step_rsc_success( 22, sc );
294 T_step_eq_u32( 23, out, event );
304 T_step_eq_u32( 25, out, 0 );
313 T_step_rsc_success( 26, sc );
314 T_step_eq_u32( 27, out, event );
323 T_step_rsc_success( 28, sc );
324 T_step_eq_u32( 29, out, 0 );
333 T_step_rsc_success( 30, sc );
334 T_step_eq_u32( 31, out, 0 );
341 T_push_fixture( &RtemsEventReqEventConstant_Node, &T_empty_fixture );
342 RtemsEventReqEventConstant_Wrap( event, number );
#define RTEMS_NO_WAIT
This option constant indicates that the task does not want to wait on the resource.
#define RTEMS_DEFAULT_OPTIONS
This option constant is the default option set.
rtems_status_code rtems_event_system_send(rtems_id id, rtems_event_set event_in)
Sends a system event set to a task.
This status code indicates that the request was not satisfied.
#define RTEMS_ALL_EVENTS
This constant contains all events in an event set.
rtems_status_code rtems_event_system_receive(rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
Receives or gets a system event set.
#define RTEMS_PENDING_EVENTS
This constant used to get the set of pending events in rtems_event_receive().
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
void RtemsEventReqEventConstant_Run(rtems_event_set event, int number)
Runs the parameterized test case.
#define RTEMS_EVENT_ANY
This option constant indicates that the task wishes to wait until at least one of the events of inter...
This header file defines the RTEMS Classic API.
rtems_status_code rtems_event_receive(rtems_event_set event_in, rtems_option option_set, rtems_interval ticks, rtems_event_set *event_out)
Receives or gets an event set.
uint32_t rtems_event_set
This integer type can hold an event set of up to 32 events represented as a bit field.
rtems_status_code rtems_event_send(rtems_id id, rtems_event_set event_in)
Sends an event set to a task.