| /loramac-node-latest/src/boards/mcu/saml21/hal/include/ |
| D | hpl_usart_async.h | 79 void (*tx_byte_sent)(struct _usart_async_device *device); 80 void (*rx_done_cb)(struct _usart_async_device *device, uint8_t data); 81 void (*tx_done_cb)(struct _usart_async_device *device); 82 void (*error_cb)(struct _usart_async_device *device); 107 int32_t _usart_async_init(struct _usart_async_device *const device, void *const hw); 116 void _usart_async_deinit(struct _usart_async_device *const device); 125 void _usart_async_enable(struct _usart_async_device *const device); 134 void _usart_async_disable(struct _usart_async_device *const device); 156 void _usart_async_set_baud_rate(struct _usart_async_device *const device, const uint32_t baud_rate); 164 void _usart_async_set_data_order(struct _usart_async_device *const device, const enum usart_data_or… [all …]
|
| D | hpl_usart_sync.h | 83 int32_t _usart_sync_init(struct _usart_sync_device *const device, void *const hw); 92 void _usart_sync_deinit(struct _usart_sync_device *const device); 101 void _usart_sync_enable(struct _usart_sync_device *const device); 110 void _usart_sync_disable(struct _usart_sync_device *const device); 132 void _usart_sync_set_baud_rate(struct _usart_sync_device *const device, const uint32_t baud_rate); 140 void _usart_sync_set_data_order(struct _usart_sync_device *const device, const enum usart_data_orde… 148 void _usart_sync_set_mode(struct _usart_sync_device *const device, const enum usart_mode mode); 156 void _usart_sync_set_parity(struct _usart_sync_device *const device, const enum usart_parity parity… 164 void _usart_sync_set_stop_bits(struct _usart_sync_device *const device, const enum usart_stop_bits … 172 void _usart_sync_set_character_size(struct _usart_sync_device *const device, const enum usart_chara… [all …]
|
| D | hpl_timer.h | 74 void (*period_expired)(struct _timer_device *device); 90 int32_t (*init)(struct _timer_device *const device, void *const hw); 91 void (*deinit)(struct _timer_device *const device); 92 void (*start_timer)(struct _timer_device *const device); 93 void (*stop_timer)(struct _timer_device *const device); 94 void (*set_timer_period)(struct _timer_device *const device, const uint32_t clock_cycles); 95 uint32_t (*get_period)(const struct _timer_device *const device); 96 bool (*is_timer_started)(const struct _timer_device *const device); 97 void (*set_timer_irq)(struct _timer_device *const device); 109 int32_t _timer_init(struct _timer_device *const device, void *const hw); [all …]
|
| D | hpl_i2c_s_async.h | 67 typedef void (*_i2c_s_async_cb_t)(struct _i2c_s_async_device *device); 73 void (*error)(struct _i2c_s_async_device *const device); 74 void (*tx)(struct _i2c_s_async_device *const device); 75 void (*rx_done)(struct _i2c_s_async_device *const device, const uint8_t data); 100 int32_t _i2c_s_async_init(struct _i2c_s_async_device *const device, void *const hw); 109 int32_t _i2c_s_async_deinit(struct _i2c_s_async_device *const device); 120 int32_t _i2c_s_async_enable(struct _i2c_s_async_device *const device); 131 int32_t _i2c_s_async_disable(struct _i2c_s_async_device *const device); 142 int32_t _i2c_s_async_is_10bit_addressing_on(const struct _i2c_s_async_device *const device); 152 int32_t _i2c_s_async_set_address(struct _i2c_s_async_device *const device, const uint16_t address); [all …]
|
| D | hpl_i2c_s_sync.h | 79 int32_t _i2c_s_sync_init(struct _i2c_s_sync_device *const device, void *const hw); 88 int32_t _i2c_s_sync_deinit(struct _i2c_s_sync_device *const device); 99 int32_t _i2c_s_sync_enable(struct _i2c_s_sync_device *const device); 110 int32_t _i2c_s_sync_disable(struct _i2c_s_sync_device *const device); 121 int32_t _i2c_s_sync_is_10bit_addressing_on(const struct _i2c_s_sync_device *const device); 131 int32_t _i2c_s_sync_set_address(struct _i2c_s_sync_device *const device, const uint16_t address); 139 void _i2c_s_sync_write_byte(struct _i2c_s_sync_device *const device, const uint8_t data); 148 i2c_s_status_t _i2c_s_sync_get_status(const struct _i2c_s_sync_device *const device); 157 uint8_t _i2c_s_sync_read_byte(const struct _i2c_s_sync_device *const device); 168 bool _i2c_s_sync_is_byte_sent(const struct _i2c_s_sync_device *const device); [all …]
|
| D | hal_timer.h | 93 struct _timer_device device; member
|
| D | hal_i2c_m_sync.h | 56 struct _i2c_m_sync_device device; member
|
| D | hpl_i2c_m_async.h | 208 void _i2c_m_async_set_irq_state(struct _i2c_m_async_device *const device, const enum _i2c_m_async_c…
|
| D | hpl_spi_m_async.h | 240 void _spi_m_async_set_irq_state(struct _spi_m_async_dev *const device, const enum _spi_m_async_dev_…
|
| D | hal_usart_sync.h | 65 struct _usart_sync_device device; member
|
| D | hpl_calendar.h | 132 struct calendar_dev device; member
|
| /loramac-node-latest/src/boards/mcu/saml21/hpl/sercom/ |
| D | hpl_sercom.c | 189 int32_t _usart_sync_init(struct _usart_sync_device *const device, void *const hw) in _usart_sync_init() argument 191 ASSERT(device); in _usart_sync_init() 193 device->hw = hw; in _usart_sync_init() 201 int32_t _usart_async_init(struct _usart_async_device *const device, void *const hw) in _usart_async_init() argument 205 ASSERT(device); in _usart_async_init() 211 device->hw = hw; in _usart_async_init() 212 _sercom_init_irq_param(hw, (void *)device); in _usart_async_init() 223 void _usart_sync_deinit(struct _usart_sync_device *const device) in _usart_sync_deinit() argument 225 _usart_deinit(device->hw); in _usart_sync_deinit() 231 void _usart_async_deinit(struct _usart_async_device *const device) in _usart_async_deinit() argument [all …]
|
| /loramac-node-latest/src/boards/mcu/saml21/hal/src/ |
| D | hal_usart_sync.c | 63 init_status = _usart_sync_init(&descr->device, hw); in usart_sync_init() 80 _usart_sync_deinit(&descr->device); in usart_sync_deinit() 94 _usart_sync_enable(&descr->device); in usart_sync_enable() 105 _usart_sync_disable(&descr->device); in usart_sync_disable() 128 _usart_sync_set_flow_control_state(&descr->device, state); in usart_sync_set_flow_control() 139 _usart_sync_set_baud_rate(&descr->device, baud_rate); in usart_sync_set_baud_rate() 150 _usart_sync_set_data_order(&descr->device, data_order); in usart_sync_set_data_order() 161 _usart_sync_set_mode(&descr->device, mode); in usart_sync_set_mode() 172 _usart_sync_set_parity(&descr->device, parity); in usart_sync_set_parity() 183 _usart_sync_set_stop_bits(&descr->device, stop_bits); in usart_sync_set_stopbits() [all …]
|
| D | hal_timer.c | 62 static void timer_process_counted(struct _timer_device *device); 70 _timer_init(&descr->device, hw); in timer_init() 72 descr->device.timer_cb.period_expired = timer_process_counted; in timer_init() 83 _timer_deinit(&descr->device); in timer_deinit() 94 if (_timer_is_started(&descr->device)) { in timer_start() 97 _timer_start(&descr->device); in timer_start() 108 if (!_timer_is_started(&descr->device)) { in timer_stop() 111 _timer_stop(&descr->device); in timer_stop() 122 _timer_set_period(&descr->device, clock_cycles); in timer_set_clock_cycles_per_tick() 147 _timer_set_irq(&descr->device); in timer_add_task() [all …]
|
| D | hal_i2c_m_sync.c | 56 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_read() 79 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_write() 96 init_status = _i2c_m_sync_init(&i2c->device, hw); in i2c_m_sync_init() 116 status = _i2c_m_sync_deinit(&i2c->device); in i2c_m_sync_deinit() 132 return _i2c_m_sync_enable(&i2c->device); in i2c_m_sync_enable() 140 return _i2c_m_sync_disable(&i2c->device); in i2c_m_sync_disable() 156 return _i2c_m_sync_set_baudrate(&i2c->device, clkrate, baudrate); in i2c_m_sync_set_baudrate() 172 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_cmd_write() 183 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_cmd_write() 206 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_cmd_read() [all …]
|
| /loramac-node-latest/src/boards/mcu/saml21/hal/documentation/ |
| D | spi_master_sync.rst | 8 architecture with a single master. The master device originates the frame for 28 Send/receive/exchange data with a SPI slave device. E.g., serial flash, SD card,
|
| D | ext_irq.rst | 9 external pin can also be configured to wake up the device
|
| D | usart_sync.rst | 5 (USART) is usually used to transfer data from one device to the other.
|
| /loramac-node-latest/src/boards/mcu/saml21/saml21b/include/ |
| D | sam.h | 54 #error Library does not support the specified device
|
| D | saml21.h | 60 #error Library does not support the specified device.
|
| /loramac-node-latest/ |
| D | README.md | 1 # LoRaWAN end-device stack implementation and example projects 19 The aim of this project is to show an example of an end-device LoRaWAN stack implementation. 29 This project fully implements ClassA, ClassB and ClassC end-device classes and it also provides SX1… 33 * **LoRaMac/fuota-test-01**: FUOTA test scenario 01 end-device example application. (Based on provi… 35 * **LoRaMac/periodic-uplink-lpp**: ClassA/B/C end-device example application. Periodically uplinks … 99 In order to update the end-device identity (`DevEUI`, `JoinEUI` and `AES128 keys`) one must update … 391 …ollowing after `ESC` + `N` keyboard keys are hit. After reseting the end-device the clean NVM will…
|
| D | CHANGELOG.md | 351 - Moved device identity to secure-element `se-identity.h` file 567 - Updated and improved MPL3115 device driver 596 - Added a definition for the LoRaWAN device address. Add an IEEE_OUI for the LoRaWAN device EUI 818 *A device just transmitted a 0.5 s long frame on one default channel 893 Before the device was issuing at least 2 trials 939 - Possibility to shut-down the device **YES** (Possible by issuing DutyCycleReq MAC command) 1014 - Possibility to shut-down the device **YES** (Possible by issuing DutyCycleReq MAC command)
|
| /loramac-node-latest/src/apps/LoRaMac/fuota-test-01/ |
| D | readme.md | 15 1. End-device boots, joins network 16 2. End-device periodically (in average 30sec) sends AppTimeReq. Those uplinks provide opportunity t… 18 4. Server waits for the next AppTimeReq uplink to check that end-device time is now correct (+/- 2s… 24 9. At the end of the session, the end-device periodically requests authentication of the received f… 29 All required functionality is implemented. Please see below end-device execution log. 53 The end-device prints messages on the UART. In order to observe those messages one must setup a ter…
|
| /loramac-node-latest/cmake/ |
| D | toolchain-arm-none-eabi.cmake | 22 # Append current directory to CMAKE_MODULE_PATH for making device specific cmake modules visible
|
| /loramac-node-latest/doc/ |
| D | development-environment.md | 146 …OpenOCD has to be started with parameters that depend on the used debugger device and target board…
|