42 #include <rtems/test.h> 161 static void ReqRtemsEventValEvent_Wrap(
rtems_event_set event,
int number )
179 T_step_rsc_success( 2, sc );
180 T_step_eq_u32( 3, out, 0 );
189 T_step_rsc_success( 4, sc );
190 T_step_eq_u32( 5, out, 0 );
200 T_step_eq_u32( 7, out, 0 );
210 T_step_eq_u32( 9, out, 0 );
213 T_step_rsc_success( 10, sc );
222 T_step_rsc_success( 11, sc );
223 T_step_eq_u32( 12, out, event );
232 T_step_rsc_success( 13, sc );
233 T_step_eq_u32( 14, out, 0 );
242 T_step_rsc_success( 15, sc );
243 T_step_eq_u32( 16, out, event );
253 T_step_eq_u32( 18, out, 0 );
256 T_step_rsc_success( 19, sc );
265 T_step_rsc_success( 20, sc );
266 T_step_eq_u32( 21, out, 0 );
275 T_step_rsc_success( 22, sc );
276 T_step_eq_u32( 23, out, event );
286 T_step_eq_u32( 25, out, 0 );
295 T_step_rsc_success( 26, sc );
296 T_step_eq_u32( 27, out, event );
305 T_step_rsc_success( 28, sc );
306 T_step_eq_u32( 29, out, 0 );
315 T_step_rsc_success( 30, sc );
316 T_step_eq_u32( 31, out, 0 );
323 T_push_fixture( &ReqRtemsEventValEvent_Node, &T_empty_fixture );
324 ReqRtemsEventValEvent_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.
#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.
void ReqRtemsEventValEvent_Run(rtems_event_set event, int number)
Runs the parameterized test case.
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.