/loramac-node-latest/src/boards/mcu/saml21/hpl/dmac/ |
D | hpl_dmac.c | 147 void _dma_set_irq_state(const uint8_t channel, const enum _dma_callback_type type, const bool state) in _dma_set_irq_state() argument 149 hri_dmac_write_CHID_reg(DMAC, channel); in _dma_set_irq_state() 158 int32_t _dma_set_destination_address(const uint8_t channel, const void *const dst) in _dma_set_destination_address() argument 160 hri_dmacdescriptor_write_DSTADDR_reg(&_descriptor_section[channel], (uint32_t)dst); in _dma_set_destination_address() 165 int32_t _dma_set_source_address(const uint8_t channel, const void *const src) in _dma_set_source_address() argument 167 hri_dmacdescriptor_write_SRCADDR_reg(&_descriptor_section[channel], (uint32_t)src); in _dma_set_source_address() 172 int32_t _dma_srcinc_enable(const uint8_t channel, const bool enable) in _dma_srcinc_enable() argument 174 hri_dmacdescriptor_write_BTCTRL_SRCINC_bit(&_descriptor_section[channel], enable); in _dma_srcinc_enable() 179 int32_t _dma_set_data_amount(const uint8_t channel, const uint32_t amount) in _dma_set_data_amount() argument 181 uint32_t address = hri_dmacdescriptor_read_DSTADDR_reg(&_descriptor_section[channel]); in _dma_set_data_amount() [all …]
|
/loramac-node-latest/src/apps/LoRaMac/common/ |
D | CayenneLpp.c | 59 uint8_t CayenneLppAddDigitalInput( uint8_t channel, uint8_t value ) in CayenneLppAddDigitalInput() argument 65 CayenneLppBuffer[CayenneLppCursor++] = channel; in CayenneLppAddDigitalInput() 72 uint8_t CayenneLppAddDigitalOutput( uint8_t channel, uint8_t value ) in CayenneLppAddDigitalOutput() argument 78 CayenneLppBuffer[CayenneLppCursor++] = channel; in CayenneLppAddDigitalOutput() 86 uint8_t CayenneLppAddAnalogInput( uint8_t channel, float value ) in CayenneLppAddAnalogInput() argument 94 CayenneLppBuffer[CayenneLppCursor++] = channel; in CayenneLppAddAnalogInput() 102 uint8_t CayenneLppAddAnalogOutput( uint8_t channel, float value ) in CayenneLppAddAnalogOutput() argument 109 CayenneLppBuffer[CayenneLppCursor++] = channel; in CayenneLppAddAnalogOutput() 118 uint8_t CayenneLppAddLuminosity( uint8_t channel, uint16_t lux ) in CayenneLppAddLuminosity() argument 124 CayenneLppBuffer[CayenneLppCursor++] = channel; in CayenneLppAddLuminosity() [all …]
|
D | CayenneLpp.h | 65 uint8_t CayenneLppAddDigitalInput( uint8_t channel, uint8_t value ); 66 uint8_t CayenneLppAddDigitalOutput( uint8_t channel, uint8_t value ); 68 uint8_t CayenneLppAddAnalogInput( uint8_t channel, float value ); 69 uint8_t CayenneLppAddAnalogOutput( uint8_t channel, float value ); 71 uint8_t CayenneLppAddLuminosity( uint8_t channel, uint16_t lux ); 72 uint8_t CayenneLppAddPresence( uint8_t channel, uint8_t value ); 73 uint8_t CayenneLppAddTemperature( uint8_t channel, float celsius ); 74 uint8_t CayenneLppAddRelativeHumidity( uint8_t channel, float rh ); 75 uint8_t CayenneLppAddAccelerometer( uint8_t channel, float x, float y, float z ); 76 uint8_t CayenneLppAddBarometricPressure( uint8_t channel, float hpa ); [all …]
|
/loramac-node-latest/src/boards/mcu/saml21/hal/include/ |
D | hpl_dma.h | 103 int32_t _dma_set_destination_address(const uint8_t channel, const void *const dst); 113 int32_t _dma_set_source_address(const uint8_t channel, const void *const src); 123 int32_t _dma_srcinc_enable(const uint8_t channel, const bool enable); 133 int32_t _dma_set_data_amount(const uint8_t channel, const uint32_t amount); 142 int32_t _dma_enable_transaction(const uint8_t channel, const bool software_trigger); 152 int32_t _dma_get_channel_resource(struct _dma_resource **resource, const uint8_t channel); 161 void _dma_set_irq_state(const uint8_t channel, const enum _dma_callback_type type, const bool state…
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_dfsdm.c | 716 uint32_t channel; in HAL_DFSDM_ChannelCkabStart() local 731 channel = DFSDM_GetChannelFromInstance(hdfsdm_channel->Instance); in HAL_DFSDM_ChannelCkabStart() 737 …while ((((DFSDM1_Filter0->FLTISR & DFSDM_FLTISR_CKABF) >> (DFSDM_FLTISR_CKABF_Pos + channel)) & 1U… in HAL_DFSDM_ChannelCkabStart() 739 DFSDM1_Filter0->FLTICR = (1UL << (DFSDM_FLTICR_CLRCKABF_Pos + channel)); in HAL_DFSDM_ChannelCkabStart() 770 uint32_t channel; in HAL_DFSDM_ChannelPollForCkab() local 784 channel = DFSDM_GetChannelFromInstance(hdfsdm_channel->Instance); in HAL_DFSDM_ChannelPollForCkab() 790 …while ((((DFSDM1_Filter0->FLTISR & DFSDM_FLTISR_CKABF) >> (DFSDM_FLTISR_CKABF_Pos + channel)) & 1U… in HAL_DFSDM_ChannelPollForCkab() 804 DFSDM1_Filter0->FLTICR = (1UL << (DFSDM_FLTICR_CLRCKABF_Pos + channel)); in HAL_DFSDM_ChannelPollForCkab() 819 uint32_t channel; in HAL_DFSDM_ChannelCkabStop() local 836 channel = DFSDM_GetChannelFromInstance(hdfsdm_channel->Instance); in HAL_DFSDM_ChannelCkabStop() [all …]
|
/loramac-node-latest/src/mac/region/ |
D | RegionCN470B20.c | 36 uint32_t RegionCN470B20GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… in RegionCN470B20GetDownlinkFrequency() argument 40 return RegionCN470B20GetRx1Frequency( channel ); in RegionCN470B20GetDownlinkFrequency() 113 uint32_t RegionCN470B20GetRx1Frequency( uint8_t channel ) in RegionCN470B20GetRx1Frequency() argument 119 if( channel >= 32 ) in RegionCN470B20GetRx1Frequency() 125 return ( baseFrequency + ( ( channel - offset ) * CN470_B20_STEPWIDTH_RX1_CHANNEL ) ); in RegionCN470B20GetRx1Frequency()
|
D | RegionCN470A20.c | 35 uint32_t RegionCN470A20GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… in RegionCN470A20GetDownlinkFrequency() argument 37 return RegionCN470A20GetRx1Frequency( channel ); in RegionCN470A20GetDownlinkFrequency() 132 uint32_t RegionCN470A20GetRx1Frequency( uint8_t channel ) in RegionCN470A20GetRx1Frequency() argument 138 if( channel >= 32 ) in RegionCN470A20GetRx1Frequency() 144 return ( baseFrequency + ( ( channel - offset ) * CN470_A20_STEPWIDTH_RX_CHANNEL ) ); in RegionCN470A20GetRx1Frequency()
|
D | RegionCN470B26.c | 36 uint32_t RegionCN470B26GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… in RegionCN470B26GetDownlinkFrequency() argument 81 uint32_t RegionCN470B26GetRx1Frequency( uint8_t channel ) in RegionCN470B26GetRx1Frequency() argument 83 return ( CN470_B26_FIRST_RX_CHANNEL + ( ( channel % 24 ) * CN470_B26_STEPWIDTH_RX_CHANNEL ) ); in RegionCN470B26GetRx1Frequency()
|
D | RegionCN470A26.c | 35 uint32_t RegionCN470A26GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… in RegionCN470A26GetDownlinkFrequency() argument 125 uint32_t RegionCN470A26GetRx1Frequency( uint8_t channel ) in RegionCN470A26GetRx1Frequency() argument 127 return ( CN470_A26_FIRST_RX_CHANNEL + ( ( channel % 24 ) * CN470_A26_STEPWIDTH_RX_CHANNEL ) ); in RegionCN470A26GetRx1Frequency()
|
D | RegionCN470A26.h | 128 uint32_t RegionCN470A26GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… 191 uint32_t RegionCN470A26GetRx1Frequency( uint8_t channel );
|
D | RegionCN470B26.h | 128 uint32_t RegionCN470B26GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… 191 uint32_t RegionCN470B26GetRx1Frequency( uint8_t channel );
|
D | RegionCN470A20.h | 146 uint32_t RegionCN470A20GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… 209 uint32_t RegionCN470A20GetRx1Frequency( uint8_t channel );
|
D | RegionCN470B20.h | 170 uint32_t RegionCN470B20GetDownlinkFrequency( uint8_t channel, uint8_t joinChannelIndex, bool isPing… 233 uint32_t RegionCN470B20GetRx1Frequency( uint8_t channel );
|
D | Region.c | 53 … AS923_CASE { return RegionAS923NextChannel( nextChanParams, channel, time, aggregated… 102 … AU915_CASE { return RegionAU915NextChannel( nextChanParams, channel, time, aggregated… 151 … CN470_CASE { return RegionCN470NextChannel( nextChanParams, channel, time, aggregated… 200 … CN779_CASE { return RegionCN779NextChannel( nextChanParams, channel, time, aggregated… 249 … EU433_CASE { return RegionEU433NextChannel( nextChanParams, channel, time, aggregated… 298 … EU868_CASE { return RegionEU868NextChannel( nextChanParams, channel, time, aggregated… 347 … KR920_CASE { return RegionKR920NextChannel( nextChanParams, channel, time, aggregated… 396 … IN865_CASE { return RegionIN865NextChannel( nextChanParams, channel, time, aggregated… 445 … US915_CASE { return RegionUS915NextChannel( nextChanParams, channel, time, aggregated… 494 … RU864_CASE { return RegionRU864NextChannel( nextChanParams, channel, time, aggregated… [all …]
|
D | RegionBaseUS.c | 148 uint32_t RegionBaseUSCalcDownlinkFrequency( uint8_t channel, uint32_t frequency, in RegionBaseUSCalcDownlinkFrequency() argument 152 return frequency + ( channel * stepwidth ); in RegionBaseUSCalcDownlinkFrequency()
|
/loramac-node-latest/src/boards/mcu/saml21/hpl/gclk/ |
D | hpl_gclk_base.h | 78 static inline void _gclk_enable_channel(const uint8_t channel, const uint8_t source) in _gclk_enable_channel() argument 81 hri_gclk_write_PCHCTRL_reg(GCLK, channel, source | GCLK_PCHCTRL_CHEN); in _gclk_enable_channel()
|
/loramac-node-latest/src/system/ |
D | adc.c | 47 uint16_t AdcReadChannel( Adc_t *obj, uint32_t channel ) in AdcReadChannel() argument 51 return AdcMcuReadChannel( obj, channel ); in AdcReadChannel()
|
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/SKiM880B/ |
D | main.c | 454 uint8_t channel = 0; in PrepareTxFrame() local 470 CayenneLppAddDigitalInput( channel++, AppLedStateOn ); in PrepareTxFrame() 471 CayenneLppAddAnalogInput( channel++, BoardGetBatteryLevel( ) * 100 / 254 ); in PrepareTxFrame() 472 CayenneLppAddAnalogInput( channel++, potiPercentage ); in PrepareTxFrame() 473 CayenneLppAddAnalogInput( channel++, vdd ); in PrepareTxFrame()
|
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/SKiM881AXL/ |
D | main.c | 454 uint8_t channel = 0; in PrepareTxFrame() local 470 CayenneLppAddDigitalInput( channel++, AppLedStateOn ); in PrepareTxFrame() 471 CayenneLppAddAnalogInput( channel++, BoardGetBatteryLevel( ) * 100 / 254 ); in PrepareTxFrame() 472 CayenneLppAddAnalogInput( channel++, potiPercentage ); in PrepareTxFrame() 473 CayenneLppAddAnalogInput( channel++, vdd ); in PrepareTxFrame()
|
/loramac-node-latest/src/apps/LoRaMac/periodic-uplink-lpp/SKiM980A/ |
D | main.c | 454 uint8_t channel = 0; in PrepareTxFrame() local 470 CayenneLppAddDigitalInput( channel++, AppLedStateOn ); in PrepareTxFrame() 471 CayenneLppAddAnalogInput( channel++, BoardGetBatteryLevel( ) * 100 / 254 ); in PrepareTxFrame() 472 CayenneLppAddAnalogInput( channel++, potiPercentage ); in PrepareTxFrame() 473 CayenneLppAddAnalogInput( channel++, vdd ); in PrepareTxFrame()
|
/loramac-node-latest/src/boards/SKiM980A/ |
D | adc-board.c | 60 uint16_t AdcMcuReadChannel( Adc_t *obj, uint32_t channel ) in AdcMcuReadChannel() argument 80 adcConf.Channel = channel; in AdcMcuReadChannel()
|
/loramac-node-latest/src/boards/NAMote72/ |
D | adc-board.c | 60 uint16_t AdcMcuReadChannel( Adc_t *obj, uint32_t channel ) in AdcMcuReadChannel() argument 80 adcConf.Channel = channel; in AdcMcuReadChannel()
|
/loramac-node-latest/src/boards/NucleoL152/ |
D | adc-board.c | 60 uint16_t AdcMcuReadChannel( Adc_t *obj, uint32_t channel ) in AdcMcuReadChannel() argument 80 adcConf.Channel = channel; in AdcMcuReadChannel()
|
/loramac-node-latest/src/boards/SKiM880B/ |
D | adc-board.c | 60 uint16_t AdcMcuReadChannel( Adc_t *obj, uint32_t channel ) in AdcMcuReadChannel() argument 80 adcConf.Channel = channel; in AdcMcuReadChannel()
|
/loramac-node-latest/src/mac/ |
D | CMakeLists.txt | 40 set(REGION_AS923_DEFAULT_CHANNEL_PLAN CHANNEL_PLAN_GROUP_AS923_1 CACHE STRING "Default channel plan… 45 set(REGION_CN470_DEFAULT_CHANNEL_PLAN CHANNEL_PLAN_20MHZ_TYPE_A CACHE STRING "Default channel plan … 138 # Applies AS923 channel plan 141 # Applies CN470 channel plan
|