Home
last modified time | relevance | path

Searched refs:n (Results 1 – 18 of 18) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/utils/include/
Dutils_repeat_macro.h63 #define REPEAT_MACRO(macro, arg, n) REPEAT_MACRO_I(macro, arg, n) argument
69 #define REPEAT_MACRO_I(macro, arg, n) REPEAT##n(macro, arg, 0) argument
71 #define REPEAT1(macro, arg, n) macro(arg, n) argument
72 #define REPEAT2(macro, arg, n) macro(arg, n) REPEAT1(macro, arg, INC_VALUE(n)) argument
73 #define REPEAT3(macro, arg, n) macro(arg, n) REPEAT2(macro, arg, INC_VALUE(n)) argument
74 #define REPEAT4(macro, arg, n) macro(arg, n) REPEAT3(macro, arg, INC_VALUE(n)) argument
75 #define REPEAT5(macro, arg, n) macro(arg, n) REPEAT4(macro, arg, INC_VALUE(n)) argument
76 #define REPEAT6(macro, arg, n) macro(arg, n) REPEAT5(macro, arg, INC_VALUE(n)) argument
77 #define REPEAT7(macro, arg, n) macro(arg, n) REPEAT6(macro, arg, INC_VALUE(n)) argument
78 #define REPEAT8(macro, arg, n) macro(arg, n) REPEAT7(macro, arg, INC_VALUE(n)) argument
[all …]
Dutils_recursion_macro.h59 #define RECURSION_MACRO(macro, arg, n) RECURSION_MACRO_I(macro, arg, n) argument
65 #define RECURSION_MACRO_I(macro, arg, n) RECURSION##n(macro, arg) argument
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/core/
Dhpl_core_m0plus_base.c106 void _irq_disable(uint8_t n) in _irq_disable() argument
108 NVIC_DisableIRQ((IRQn_Type)n); in _irq_disable()
114 void _irq_set(uint8_t n) in _irq_set() argument
116 NVIC_SetPendingIRQ((IRQn_Type)n); in _irq_set()
122 void _irq_clear(uint8_t n) in _irq_clear() argument
124 NVIC_ClearPendingIRQ((IRQn_Type)n); in _irq_clear()
130 void _irq_enable(uint8_t n) in _irq_enable() argument
132 NVIC_EnableIRQ((IRQn_Type)n); in _irq_enable()
138 void _irq_register(const uint8_t n, struct _irq_descriptor *const irq) in _irq_register() argument
140 ASSERT(n < PERIPH_COUNT_IRQn); in _irq_register()
[all …]
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/dmac/
Dhpl_dmac.c70 #define DMAC_CHANNEL_CFG(i, n) … argument
71 …{(CONF_DMAC_RUNSTDBY_##n << DMAC_CHCTRLA_RUNSTDBY_Pos) | (CONF_DMAC_ENABLE_##n << DMAC_CHCTRLA_ENA…
72 …DMAC_CHCTRLB_TRIGACT(CONF_DMAC_TRIGACT_##n) | DMAC_CHCTRLB_TRIGSRC(CONF_DMAC_TRIGSRC_##n) …
73 …| DMAC_CHCTRLB_LVL(CONF_DMAC_LVL_##n) …
74 …| (CONF_DMAC_EVOE_##n << DMAC_CHCTRLB_EVOE_Pos) …
75 …| (CONF_DMAC_EVIE_##n << DMAC_CHCTRLB_EVIE_Pos) …
76 …| DMAC_CHCTRLB_EVACT(CONF_DMAC_EVACT_##n), …
77 …DMAC_BTCTRL_STEPSIZE(CONF_DMAC_STEPSIZE_##n) | (CONF_DMAC_STEPSEL_##n << DMAC_BTCTRL_STEPSEL_Pos) …
78 …| (CONF_DMAC_DSTINC_##n << DMAC_BTCTRL_DSTINC_Pos) …
79 …| (CONF_DMAC_SRCINC_##n << DMAC_BTCTRL_SRCINC_Pos) …
[all …]
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c97 #define SERCOM_CONFIGURATION(n) … argument
99n, SERCOM_USART_CTRLA_MODE(CONF_SERCOM_##n##_USART_MODE) …
100 …| (CONF_SERCOM_##n##_USART_RUNSTDBY << SERCOM_USART_CTRLA_RUNSTDBY_Pos) …
101 …| (CONF_SERCOM_##n##_USART_IBON << SERCOM_USART_CTRLA_IBON_Pos) …
102 …| SERCOM_USART_CTRLA_SAMPR(CONF_SERCOM_##n##_USART_SAMPR) …
103 …| SERCOM_USART_CTRLA_TXPO(CONF_SERCOM_##n##_USART_TXPO) …
104 …| SERCOM_USART_CTRLA_RXPO(CONF_SERCOM_##n##_USART_RXPO) …
105 …| SERCOM_USART_CTRLA_SAMPA(CONF_SERCOM_##n##_USART_SAMPA) …
106 …| SERCOM_USART_CTRLA_FORM(CONF_SERCOM_##n##_USART_FORM) …
107 …| (CONF_SERCOM_##n##_USART_CMODE << SERCOM_USART_CTRLA_CMODE_Pos) …
[all …]
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhpl_irq.h86 void _irq_disable(uint8_t n);
93 void _irq_set(uint8_t n);
100 void _irq_clear(uint8_t n);
107 void _irq_enable(uint8_t n);
Dhpl_gpio.h66 #define GPIO_PIN(n) (((n)&0x1Fu) << 0) argument
67 #define GPIO_PORT(n) ((n) >> 5) argument
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_i2c_m_sync.c45 static int32_t i2c_m_sync_read(struct io_descriptor *io, uint8_t *buf, const uint16_t n) in i2c_m_sync_read() argument
52 msg.len = n; in i2c_m_sync_read()
62 return n; in i2c_m_sync_read()
68 static int32_t i2c_m_sync_write(struct io_descriptor *io, const uint8_t *buf, const uint16_t n) in i2c_m_sync_write() argument
75 msg.len = n; in i2c_m_sync_write()
85 return n; in i2c_m_sync_write()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Inc/
Dusbd_dfu.h133 #define USBD_DFU_IF_DESC(n) 0x09, /* bLength: Interface Descriptor size */ \ argument
136 (n), /* bAlternateSetting: Alternate setting */ \
141 … USBD_IDX_INTERFACE_STR + (n) + 1 /* iInterface: Index of string descriptor */ \
/loramac-node-3.4.0/src/radio/sx126x/
Dsx126x.c574 uint8_t n; in SX126xSetModulationParams() local
588 n = 8; in SX126xSetModulationParams()
599 SX126xWriteCommand( RADIO_SET_MODULATIONPARAMS, buf, n ); in SX126xSetModulationParams()
602 n = 4; in SX126xSetModulationParams()
608 SX126xWriteCommand( RADIO_SET_MODULATIONPARAMS, buf, n ); in SX126xSetModulationParams()
619 uint8_t n; in SX126xSetPacketParams() local
649 n = 9; in SX126xSetPacketParams()
661 n = 6; in SX126xSetPacketParams()
673 SX126xWriteCommand( RADIO_SET_PACKETPARAMS, buf, n ); in SX126xSetPacketParams()
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/systick/
Dhpl_systick.c98 uint8_t n = cycles >> 24; in _delay_cycles() local
101 while (n--) { in _delay_cycles()
/loramac-node-3.4.0/src/boards/
Dutilities.h70 #define POW2( n ) ( 1 << n ) argument
/loramac-node-3.4.0/src/apps/LoRaMac/common/LmHandler/packages/
DFragDecoder.c179 static void FragGetParityMatrixRow( int32_t n, int32_t m, uint8_t *matrixRow );
575 static void FragGetParityMatrixRow( int32_t n, int32_t m, uint8_t *matrixRow ) in FragGetParityMatrixRow() argument
591 x = 1 + ( 1001 * n ); in FragGetParityMatrixRow()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_pcd.c547 uint32_t n = ((uint32_t)((uint32_t)wNBytes + 1U)) >> 1U; in PCD_WritePMA() local
553 for (i = n; i != 0; i--) in PCD_WritePMA()
574 uint32_t n = ((uint32_t)((uint32_t)wNBytes + 1U)) >> 1U; in PCD_ReadPMA() local
584 for (i = n; i != 0; i--) in PCD_ReadPMA()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_pcd.c1175 uint32_t n = (wNBytes + 1U) >> 1U; in PCD_WritePMA() local
1181 for (i = n; i != 0U; i--) in PCD_WritePMA()
1201 uint32_t n = (wNBytes + 1U) >> 1U; in PCD_ReadPMA() local
1205 for (i = n; i != 0U; i--) in PCD_ReadPMA()
/loramac-node-3.4.0/cmake/
Dtoolchain-arm-none-eabi.cmake39 …message(STATUS "Please specify the TOOLCHAIN_PREFIX !\n For example: -DTOOLCHAIN_PREFIX=\"C:/Progr…
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_usb.c2429 uint32_t n = ((uint32_t)wNBytes + 1U) >> 1; in USB_WritePMA() local
2437 for (i = n; i != 0U; i--) in USB_WritePMA()
2463 uint32_t n = (uint32_t)wNBytes >> 1; in USB_ReadPMA() local
2471 for (i = n; i != 0U; i--) in USB_ReadPMA()
/loramac-node-3.4.0/
DCHANGELOG.md860 - Changed the usage of pow(2, n) by defining POW2 functions Saves ~2 KBytes of code