Mercurial > public > ostc4
comparison Common/Drivers/CMSIS/Include/cmsis_gcc.h @ 1014:8c0134a287da GasConsumption
Add a log data event to the scrubber timer at the start of the dive and every time the timer (in minutes)
is decremented. The event contains a 12 bit signed integer for the remaining scrubber duration, and two
flags for scrubber warning (0x2000, <= 30 minutes remaining) and scrubber error (0x4000, <= 0 minutes remaining).
(mikeller)
| author | heinrichsweikamp |
|---|---|
| date | Sun, 11 May 2025 16:18:20 +0200 |
| parents | bad5561c0c59 |
| children |
comparison
equal
deleted
inserted
replaced
| 1013:fa1af49319e5 | 1014:8c0134a287da |
|---|---|
| 183 \brief Set Main Stack Pointer | 183 \brief Set Main Stack Pointer |
| 184 \details Assigns the given value to the Main Stack Pointer (MSP). | 184 \details Assigns the given value to the Main Stack Pointer (MSP). |
| 185 | 185 |
| 186 \param [in] topOfMainStack Main Stack Pointer value to set | 186 \param [in] topOfMainStack Main Stack Pointer value to set |
| 187 */ | 187 */ |
| 188 // This is deprecated, get the compiler to shut up about it | 188 __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_MSP(uint32_t topOfMainStack) |
| 189 //__attribute__( ( always_inline ) ) __STATIC_INLINE void __set_MSP(uint32_t topOfMainStack) | 189 { |
| 190 //{ | 190 __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp"); |
| 191 // __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp"); | 191 } |
| 192 //} | |
| 193 | 192 |
| 194 | 193 |
| 195 /** | 194 /** |
| 196 \brief Get Priority Mask | 195 \brief Get Priority Mask |
| 197 \details Returns the current state of the priority mask bit from the Priority Mask Register. | 196 \details Returns the current state of the priority mask bit from the Priority Mask Register. |
