Skip to Content
Hands-On RTOS with Microcontrollers
book

Hands-On RTOS with Microcontrollers

by Brian Amos
May 2020
Intermediate to advanced
496 pages
13h 54m
English
Packt Publishing
Content preview from Hands-On RTOS with Microcontrollers

Guaranteeing atomic transactions

Sometimes, it is desirable to transmit a message and then be confident that the response is for that message. In these cases, a mutex can be used at a higher level. This allows for groups of messages to be clustered together. An example of when this technique can be especially useful is a single peripheral servicing multiple physical ICs across multiple tasks:

In the preceding diagram, the same peripheral (SPI1) is used to service two different ICs. Although the SPI peripheral is shared, there are separate chip select lines (CS1 and CS2) for each IC. There are also two completely independent drivers for these ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers - Second Edition

Hands-On RTOS with Microcontrollers - Second Edition

Jim Yuill, Penn Linder

Publisher Resources

ISBN: 9781838826734Supplemental Content