/nrf52832-nimble/nordic/nrfx/hal/ |
H A D | nrf_gpiote.h | 81 NRF_GPIOTE_TASKS_OUT_0 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[0]), /**< Out task 0.*/ 82 NRF_GPIOTE_TASKS_OUT_1 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[1]), /**< Out task 1.*/ 83 NRF_GPIOTE_TASKS_OUT_2 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[2]), /**< Out task 2.*/ 84 NRF_GPIOTE_TASKS_OUT_3 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[3]), /**< Out task 3.*/ 86 NRF_GPIOTE_TASKS_OUT_4 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[4]), /**< Out task 4.*/ 87 NRF_GPIOTE_TASKS_OUT_5 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[5]), /**< Out task 5.*/ 88 NRF_GPIOTE_TASKS_OUT_6 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[6]), /**< Out task 6.*/ 89 NRF_GPIOTE_TASKS_OUT_7 = offsetof(NRF_GPIOTE_Type, TASKS_OUT[7]), /**< Out task 7.*/ 92 NRF_GPIOTE_TASKS_SET_0 = offsetof(NRF_GPIOTE_Type, TASKS_SET[0]), /**< Set task 0.*/ 93 NRF_GPIOTE_TASKS_SET_1 = offsetof(NRF_GPIOTE_Type, TASKS_SET[1]), /**< Set task 1.*/ [all …]
|
H A D | nrf_clock.h | 126 * @brief Trigger status of task LFCLKSTART/HFCLKSTART. 131 …NRF_CLOCK_START_TASK_NOT_TRIGGERED = CLOCK_LFCLKRUN_STATUS_NotTriggered, /**< Task LFCLKSTART/HFCL… 132 …NRF_CLOCK_START_TASK_TRIGGERED = CLOCK_LFCLKRUN_STATUS_Triggered /**< Task LFCLKSTART/HFCL… 151 …* @details The NRF_CLOCK_TASK_LFCLKSTOP task cannot be set when the low-frequency clock is not run… 152 * The NRF_CLOCK_TASK_HFCLKSTOP task cannot be set when the high-frequency clock is not running. 205 * @brief Function for retrieving the address of a specific task. 208 * @param[in] task Task. 210 * @return Address of the requested task register. 212 __STATIC_INLINE uint32_t nrf_clock_task_address_get(nrf_clock_task_t task); 215 * @brief Function for setting a specific task. [all …]
|
H A D | nrf_egu.h | 81 …S_TRIGGERED[0]), /**< Event number 0 generated by triggering the corresponding TRIGGER[0] task. */ 82 …S_TRIGGERED[1]), /**< Event number 1 generated by triggering the corresponding TRIGGER[1] task. */ 83 …S_TRIGGERED[2]), /**< Event number 2 generated by triggering the corresponding TRIGGER[2] task. */ 84 …S_TRIGGERED[3]), /**< Event number 3 generated by triggering the corresponding TRIGGER[3] task. */ 85 …S_TRIGGERED[4]), /**< Event number 4 generated by triggering the corresponding TRIGGER[4] task. */ 86 …S_TRIGGERED[5]), /**< Event number 5 generated by triggering the corresponding TRIGGER[5] task. */ 87 …S_TRIGGERED[6]), /**< Event number 6 generated by triggering the corresponding TRIGGER[6] task. */ 88 …S_TRIGGERED[7]), /**< Event number 7 generated by triggering the corresponding TRIGGER[7] task. */ 89 …S_TRIGGERED[8]), /**< Event number 8 generated by triggering the corresponding TRIGGER[8] task. */ 90 …S_TRIGGERED[9]), /**< Event number 9 generated by triggering the corresponding TRIGGER[9] task. */ [all …]
|
H A D | nrf_wdt.h | 61 NRF_WDT_TASK_START = offsetof(NRF_WDT_Type, TASKS_START), /**< Task for starting WDT. */ 121 * @brief Function for starting the WDT task. 123 * @param[in] task Task. 125 __STATIC_INLINE void nrf_wdt_task_trigger(nrf_wdt_task_t task); 171 * WDT task. 173 * @param[in] task Task for which to set the configuration. 176 __STATIC_INLINE void nrf_wdt_subscribe_set(nrf_wdt_task_t task, 181 * WDT task. 183 * @param[in] task Task for which to clear the configuration. 185 __STATIC_INLINE void nrf_wdt_subscribe_clear(nrf_wdt_task_t task); [all …]
|
H A D | nrf_rtc.h | 157 * RTC task. 160 * @param[in] task Task for which to set the configuration. 164 nrf_rtc_task_t task, 169 * RTC task. 172 * @param[in] task Task for which to clear the configuration. 175 nrf_rtc_task_t task); 246 * @brief Function for returning the address of a task. 249 * @param[in] task Requested task. 251 * @return Address of the requested task register. 253 __STATIC_INLINE uint32_t nrf_rtc_task_address_get(NRF_RTC_Type * p_reg, nrf_rtc_task_t task); [all …]
|
H A D | nrf_twim.h | 83 …TARTRX_MASK = TWIM_SHORTS_LASTTX_STARTRX_Msk, ///< Shortcut between LASTTX event and STARTRX task. 84 …USPEND_MASK = TWIM_SHORTS_LASTTX_SUSPEND_Msk, ///< Shortcut between LASTTX event and SUSPEND task. 85 …X_STOP_MASK = TWIM_SHORTS_LASTTX_STOP_Msk, ///< Shortcut between LASTTX event and STOP task. 86 …TARTTX_MASK = TWIM_SHORTS_LASTRX_STARTTX_Msk, ///< Shortcut between LASTRX event and STARTTX task. 87 …X_STOP_MASK = TWIM_SHORTS_LASTRX_STOP_Msk, ///< Shortcut between LASTRX event and STOP task. 137 * @brief Function for activating a specific TWIM task. 140 * @param[in] task Task to activate. 143 nrf_twim_task_t task); 146 * @brief Function for getting the address of a specific TWIM task register. 149 * @param[in] task Requested task. [all …]
|
H A D | nrf_timer.h | 95 …NRF_TIMER_TASK_START = offsetof(NRF_TIMER_Type, TASKS_START), ///< Task for starting the t… 96 …NRF_TIMER_TASK_STOP = offsetof(NRF_TIMER_Type, TASKS_STOP), ///< Task for stopping the t… 97 …NRF_TIMER_TASK_COUNT = offsetof(NRF_TIMER_Type, TASKS_COUNT), ///< Task for incrementing t… 98 …NRF_TIMER_TASK_CLEAR = offsetof(NRF_TIMER_Type, TASKS_CLEAR), ///< Task for resetting the … 99 …NRF_TIMER_TASK_SHUTDOWN = offsetof(NRF_TIMER_Type, TASKS_SHUTDOWN), ///< Task for powering off t… 100 …NRF_TIMER_TASK_CAPTURE0 = offsetof(NRF_TIMER_Type, TASKS_CAPTURE[0]), ///< Task for capturing the … 101 …NRF_TIMER_TASK_CAPTURE1 = offsetof(NRF_TIMER_Type, TASKS_CAPTURE[1]), ///< Task for capturing the … 102 …NRF_TIMER_TASK_CAPTURE2 = offsetof(NRF_TIMER_Type, TASKS_CAPTURE[2]), ///< Task for capturing the … 103 …NRF_TIMER_TASK_CAPTURE3 = offsetof(NRF_TIMER_Type, TASKS_CAPTURE[3]), ///< Task for capturing the … 105 …NRF_TIMER_TASK_CAPTURE4 = offsetof(NRF_TIMER_Type, TASKS_CAPTURE[4]), ///< Task for capturing the … [all …]
|
H A D | nrf_ppi.h | 136 …NRF_PPI_TASK_CHG0_EN = offsetof(NRF_PPI_Type, TASKS_CHG[0].EN), /**< Task for enabling channel g… 137 …NRF_PPI_TASK_CHG0_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[0].DIS), /**< Task for disabling channel … 138 …NRF_PPI_TASK_CHG1_EN = offsetof(NRF_PPI_Type, TASKS_CHG[1].EN), /**< Task for enabling channel g… 139 …NRF_PPI_TASK_CHG1_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[1].DIS), /**< Task for disabling channel … 140 …NRF_PPI_TASK_CHG2_EN = offsetof(NRF_PPI_Type, TASKS_CHG[2].EN), /**< Task for enabling channel g… 141 …NRF_PPI_TASK_CHG2_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[2].DIS), /**< Task for disabling channel … 142 …NRF_PPI_TASK_CHG3_EN = offsetof(NRF_PPI_Type, TASKS_CHG[3].EN), /**< Task for enabling channel g… 143 …NRF_PPI_TASK_CHG3_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[3].DIS), /**< Task for disabling channel … 145 …NRF_PPI_TASK_CHG4_EN = offsetof(NRF_PPI_Type, TASKS_CHG[4].EN), /**< Task for enabling channel g… 146 …NRF_PPI_TASK_CHG4_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[4].DIS), /**< Task for disabling channel … [all …]
|
H A D | nrf_ecb.h | 96 …NRF_ECB_TASK_STARTECB = offsetof(NRF_ECB_Type, TASKS_STARTECB), /**< Task for starting ECB block e… 97 …NRF_ECB_TASK_STOPECB = offsetof(NRF_ECB_Type, TASKS_STOPECB), /**< Task for stopping ECB block e… 108 …pe, EVENTS_ERRORECB), /**< ECB block encrypt aborted because of a STOPECB task or due to an error.… 123 * @brief Function for activating a specific ECB task. 126 * @param[in] task Task to activate. 128 __STATIC_INLINE void nrf_ecb_task_trigger(NRF_ECB_Type * p_reg, nrf_ecb_task_t task); 131 * @brief Function for getting the address of a specific ECB task register. 134 * @param[in] task Requested task. 136 * @return Address of the specified task register. 139 nrf_ecb_task_t task); [all …]
|
H A D | nrf_uarte.h | 91 …ENDRX_STARTRX = UARTE_SHORTS_ENDRX_STARTRX_Msk, ///< Shortcut between ENDRX event and STARTRX task. 92 …_ENDRX_STOPRX = UARTE_SHORTS_ENDRX_STOPRX_Msk ///< Shortcut between ENDRX event and STOPRX task. 249 * UARTE task. 252 * @param[in] task Task for which to set the configuration. 256 nrf_uarte_task_t task, 261 * UARTE task. 264 * @param[in] task Task for which to clear the configuration. 267 nrf_uarte_task_t task); 378 * @brief Function for starting an UARTE task. 381 * @param task Task. [all …]
|
H A D | nrf_twis.h | 83 …END_MASK = TWIS_SHORTS_WRITE_SUSPEND_Msk, /**< Shortcut between WRITE event and SUSPEND task */ 84 …END_MASK = TWIS_SHORTS_READ_SUSPEND_Msk, /**< Shortcut between READ event and SUSPEND task */ 144 * @brief Function for activating a specific TWIS task. 147 * @param task Task. 149 __STATIC_INLINE void nrf_twis_task_trigger(NRF_TWIS_Type * const p_reg, nrf_twis_task_t task); 152 * @brief Function for returning the address of a specific TWIS task register. 155 * @param task Task. 157 * @return Task address. 161 nrf_twis_task_t task); 268 * TWIS task. [all …]
|
H A D | nrf_pwm.h | 80 … = offsetof(NRF_PWM_Type, EVENTS_STOPPED), ///< Response to STOP task, emitted when PWM p… 109 …K = PWM_SHORTS_SEQEND0_STOP_Msk, ///< Shortcut between SEQEND[0] event and STOP task. 110 …K = PWM_SHORTS_SEQEND1_STOP_Msk, ///< Shortcut between SEQEND[1] event and STOP task. 111 …K = PWM_SHORTS_LOOPSDONE_SEQSTART0_Msk, ///< Shortcut between LOOPSDONE event and SEQSTART[0] task. 112 …K = PWM_SHORTS_LOOPSDONE_SEQSTART1_Msk, ///< Shortcut between LOOPSDONE event and SEQSTART[1] task. 113 …ASK = PWM_SHORTS_LOOPSDONE_STOP_Msk ///< Shortcut between LOOPSDONE event and STOP task. 163 …GGERED = PWM_DECODER_MODE_NextStep ///< When the @ref NRF_PWM_TASK_NEXTSTEP task is triggered. 261 * @brief Function for activating a specific PWM task. 264 * @param[in] task Task to activate. 267 nrf_pwm_task_t task); [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/linux/src/ |
H A D | os_task.c | 28 * Initialize a task. 30 * This function initializes the task structure pointed to by t, 32 * and sets the task as ready to run, and inserts it into the operating 35 * @param t The task to initialize 36 * @param name The name of the task to initialize 37 * @param func The task function to call 38 * @param arg The argument to pass to this task function 39 * @param prio The priority at which to run this task 40 * @param sanity_itvl The time at which this task should check in with the 41 * sanity task. OS_WAIT_FOREVER means never check in [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/lpc214x/ |
H A D | context_rvds.S | 68 LDR sp, [r1] ; get new task stack pointer 70 LDMFD sp!, {r4} ; pop new task cpsr to spsr 75 LDMFD sp!, {r0-r12, lr, pc}^ ; pop new task r0-r12, lr & pc, copy spsr to cpsr 84 LDR sp, [r0] ; get new task stack pointer 86 LDMFD sp!, {r4} ; pop new task cpsr to spsr 91 LDMFD sp!, {r0-r12, lr, pc}^ ; pop new task r0-r12, lr & pc, copy spsr to cpsr 129 SUB r2, lr, #4 ; save old task's pc to r2 136 STMFD sp!, {r2} ; push old task's pc 137 STMFD sp!, {r4-r12,lr}; push old task's lr,r12-r4 141 STMFD sp!, {r0-r3} ; push old task's r3-r0 [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-r4/ |
H A D | context_ccs.asm | 75 LDR sp, [r1] ; get new task stack pointer 88 LDMIA sp!, {r4} ; pop new task cpsr to spsr 91 LDMIA sp!, {r0-r12, lr, pc}^ ; pop new task r0-r12, lr & pc, copy spsr to cpsr 101 LDR sp, [r0] ; get new task stack pointer 114 LDMIA sp!, {r4} ; pop new task cpsr to spsr 117 LDMIA sp!, {r0-r12, lr, pc}^ ; pop new task r0-r12, lr & pc, copy spsr to cpsr 206 SUB r2, lr, #4 ; save old task's pc to r2 213 STMDB sp!, {r2} ; push old task's pc 214 STMDB sp!, {r4-r12,lr} ; push old task's lr,r12-r4 216 STMDB sp!, {r4-r7} ; push old task's r3-r0. We don't need to push/pop them to [all …]
|
H A D | context_gcc.S | 73 LDR sp, [r1] @ get new task stack pointer 86 LDMIA sp!, {r4} @ pop new task cpsr to spsr 89 LDMIA sp!, {r0-r12, lr, pc}^ @ pop new task r0-r12, lr & pc, copy spsr to cpsr 97 LDR sp, [r0] @ get new task stack pointer 110 LDMIA sp!, {r4} @ pop new task cpsr to spsr 113 LDMIA sp!, {r0-r12, lr, pc}^ @ pop new task r0-r12, lr & pc, copy spsr to cpsr 200 SUB r2, lr, #4 @ save old task's pc to r2 207 STMDB sp!, {r2} @ push old task's pc 208 STMDB sp!, {r4-r12,lr} @ push old task's lr,r12-r4 210 STMDB sp!, {r4-r7} @ push old task's r3-r0. We don't need to push/pop them to [all …]
|
/nrf52832-nimble/nordic/nrfx/drivers/include/ |
H A D | nrfx_gpiote.h | 130 nrf_gpiote_polarity_t action; /**< Configuration of the pin task. */ 132 bool task_pin; /**< True if the pin is controlled by a GPIOTE task. */ 142 /**@brief Macro for configuring a pin to use the GPIO OUT TASK to change the state from high to low. 143 * @details The task will clear the pin. Therefore, the pin is set initially. */ 151 /**@brief Macro for configuring a pin to use the GPIO OUT TASK to change the state from low to high. 152 * @details The task will set the pin. Therefore, the pin is cleared initially. */ 160 /**@brief Macro for configuring a pin to use the GPIO OUT TASK to toggle the pin state. 254 * @brief Function for enabling a GPIOTE output pin task. 261 * @brief Function for disabling a GPIOTE output pin task. 268 * @brief Function for getting the address of a configurable GPIOTE task. [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/s3c24x0/ |
H A D | context_gcc.S | 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc}^ @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr 71 ldmfd sp!, {r4} @ pop new task cpsr 74 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc
|
H A D | context_rvds.S | 54 LDR sp, [r1] ; get new task stack pointer 56 LDMFD sp!, {r4} ; pop new task spsr 58 LDMFD sp!, {r4} ; pop new task cpsr 61 LDMFD sp!, {r0-r12, lr, pc}^ ; pop new task r0-r12, lr & pc 70 LDR sp, [r0] ; get new task stack pointer 72 LDMFD sp!, {r4} ; pop new task spsr 74 LDMFD sp!, {r4} ; pop new task cpsr 77 LDMFD sp!, {r0-r12, lr, pc} ; pop new task r0-r12, lr & pc
|
/nrf52832-nimble/rt-thread/libcpu/arm/lpc24xx/ |
H A D | context_gcc.S | 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr 71 ldmfd sp!, {r4} @ pop new task cpsr 74 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc
|
/nrf52832-nimble/rt-thread/libcpu/arm/AT91SAM7X/ |
H A D | context_gcc.S | 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr 71 ldmfd sp!, {r4} @ pop new task cpsr 74 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc
|
H A D | context_rvds.S | 54 LDR sp, [r1] ; get new task stack pointer 56 LDMFD sp!, {r4} ; pop new task spsr 58 LDMFD sp!, {r4} ; pop new task cpsr 61 LDMFD sp!, {r0-r12, lr, pc} ; pop new task r0-r12, lr & pc 70 LDR sp, [r0] ; get new task stack pointer 72 LDMFD sp!, {r4} ; pop new task spsr 74 LDMFD sp!, {r4} ; pop new task cpsr 77 LDMFD sp!, {r0-r12, lr, pc} ; pop new task r0-r12, lr & pc
|
/nrf52832-nimble/rt-thread/libcpu/arm/s3c44b0/ |
H A D | context_gcc.S | 52 ldr sp, [r1] @ get new task stack pointer 54 ldmfd sp!, {r4} @ pop new task spsr 56 ldmfd sp!, {r4} @ pop new task cpsr 59 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc 67 ldr sp, [r0] @ get new task stack pointer 69 ldmfd sp!, {r4} @ pop new task spsr 71 ldmfd sp!, {r4} @ pop new task cpsr 74 ldmfd sp!, {r0-r12, lr, pc} @ pop new task r0-r12, lr & pc
|
H A D | context_rvds.S | 54 LDR sp, [r1] ; get new task stack pointer 56 LDMFD sp!, {r4} ; pop new task spsr 58 LDMFD sp!, {r4} ; pop new task cpsr 61 LDMFD sp!, {r0-r12, lr, pc} ; pop new task r0-r12, lr & pc 70 LDR sp, [r0] ; get new task stack pointer 72 LDMFD sp!, {r4} ; pop new task spsr 74 LDMFD sp!, {r4} ; pop new task cpsr 77 LDMFD sp!, {r0-r12, lr, pc} ; pop new task r0-r12, lr & pc
|
/nrf52832-nimble/rt-thread/libcpu/arm/AT91SAM7S/ |
H A D | context_gcc.S | 47 ldr sp, [r1] /* get new task stack pointer */ 49 ldmfd sp!, {r4} /* pop new task spsr */ 51 ldmfd sp!, {r4} /* pop new task cpsr */ 54 ldmfd sp!, {r0-r12, lr, pc} /* pop new task r0-r12, lr & pc */ 62 ldr sp, [r0] /* get new task stack pointer */ 64 ldmfd sp!, {r4} /* pop new task spsr */ 66 ldmfd sp!, {r4} /* pop new task cpsr */ 69 ldmfd sp!, {r0-r12, lr, pc} /* pop new task r0-r12, lr & pc */
|