Skip to content

Commit 31f2c3f

Browse files
authored
Fix typos in documentation (#1671)
1 parent c12fabc commit 31f2c3f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Event.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Here is a simple example that shows how two thread can communicate with each oth
3030
\image html simple_signal.png "Simple event communication"
3131

3232
The following steps are required to use event flags:
33-
-# In the thread that is supposed to send a event with id sig1_id, call the set function:
33+
-# In the thread that is supposed to send an event with id sig1_id, call the set function:
3434
\code
3535
osDelay(1000U); // wait for 1 second
3636
osEventFlagsSet(sig1_id, 0x0001U); // set the flag 0x0001U for event sig1_id

CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Message.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@details
88
\b Message \b passing is another basic communication model between threads. In the message passing model, one thread sends
99
data explicitly, while another thread receives it. The operation is more like some kind of I/O rather than a direct access to
10-
information to be shared. In CMSIS-RTOS, this mechanism is called s \b message \b queue. The data is passed from one thread
10+
information to be shared. In CMSIS-RTOS, this mechanism is called a \b message \b queue. The data is passed from one thread
1111
to another in a FIFO-like operation. Using message queue functions, you can control, send, receive, or wait for messages. The
1212
data to be passed can be of integer or pointer type:
1313

@@ -41,7 +41,7 @@ Specifies the following attributes for the \ref osMessageQueueNew function.
4141
/**
4242
\fn osMessageQueueId_t osMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAttr_t *attr)
4343
\details
44-
The function \ref osMessageQueueNew creates and initializes a message queue object.
44+
The function \ref osMessageQueueNew creates and initializes a message queue object.
4545
The function returns a message queue object identifier or \token{NULL} in case of an error.
4646

4747
The function can be called after kernel initialization with \ref osKernelInitialize. It is possible to

CMSIS/DoxyGen/RTOS2/src/cmsis_os2_ThreadFlags.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
\brief Synchronize threads using flags.
77
\details
88
Thread Flags are a more specialized version of the Event Flags. See \ref CMSIS_RTOS_EventFlags.
9-
While Event Flags can be used to globally signal a number of threads, thread flags are only send to a single specific thread.
9+
While Event Flags can be used to globally signal a number of threads, thread flags are only sent to a single specific thread.
1010
Every thread instance can receive thread flags without any additional allocation of a thread flags object.
1111

1212
\note Thread flag management functions cannot be called from \ref CMSIS_RTOS_ISR_Calls "Interrupt Service Routines", except

0 commit comments

Comments
 (0)