/nrf52832-nimble/nordic/nrfx/drivers/include/ |
H A D | nrfx_spis.h | 44 * @defgroup nrfx_spis SPI slave driver 47 * @brief SPI Slave peripheral driver. 50 /** @brief SPI slave driver instance data structure. */ 73 /** @brief Macro for creating an SPI slave driver instance. */ 92 /** @brief SPI slave driver event types. */ 95 …ry buffer set event. Memory buffers have been set successfully to the SPI slave device, and SPI tr… 100 /** @brief SPI slave driver event structure. */ 108 /** @brief SPI slave instance default configuration. */ 146 * @brief SPI slave driver event handler type. 157 * @brief Function for initializing the SPI slave driver instance. [all …]
|
H A D | nrfx_spim.h | 85 * MISO, and Slave Select to specify that the given signal is not used and 102 uint8_t ss_pin; ///< Slave Select pin number (optional). 105 bool ss_active_high; ///< Polarity of the Slave Select pin during transmission. 120 …bool use_hw_ss; ///< Indication to use software or hardware controlled Slave Sel… 121 uint8_t ss_duration; ///< Slave Select duration before and after transmission. 125 * Supported only for hardware controlled Slave Select.*/
|
H A D | nrfx_twi.h | 131 uint8_t address; ///< Slave address. 236 * @brief Function for sending data to a TWI slave. 242 * @param[in] address Address of a specific slave device (only 7 LSB). 262 * @brief Function for reading data from a TWI slave. 268 * @param[in] address Address of a specific slave device (only 7 LSB).
|
H A D | nrfx_twim.h | 141 uint8_t address; ///< Slave address. 246 * @brief Function for sending data to a TWI slave. 256 * @param[in] address Address of a specific slave device (only 7 LSB). 280 * @brief Function for reading data from a TWI slave. 286 * @param[in] address Address of a specific slave device (only 7 LSB).
|
H A D | nrfx_twis.h | 47 * @brief Two Wire Slave interface (TWIS) peripheral driver. 137 * @brief TWI slave event callback function type. 148 …uint32_t addr[2]; //!< Set addresses that this slave should respond. Set 0 t…
|
H A D | nrfx_spi.h | 82 * MISO, and Slave Select to specify that the given signal is not used and 99 uint8_t ss_pin; ///< Slave Select pin number (optional).
|
/nrf52832-nimble/rt-thread/components/drivers/mtd/ |
H A D | mtd.c | 16 rt_mtd_t *slave; in mtd_part_alloc() local 18 slave = rt_malloc(sizeof(rt_mtd_t)); in mtd_part_alloc() 19 if (slave == RT_NULL) in mtd_part_alloc() 22 slave->master = master; in mtd_part_alloc() 24 *slave = *master; in mtd_part_alloc() 25 slave->size = part->size; in mtd_part_alloc() 26 slave->offset = part->offset; in mtd_part_alloc() 30 return slave; in mtd_part_alloc() 58 rt_mtd_t *slave; in rt_mtd_register() local 78 slave = mtd_part_alloc(master, parts); in rt_mtd_register() [all …]
|
/nrf52832-nimble/rt-thread/components/net/freemodbus/modbus/include/ |
H A D | mb.h | 56 * // Initialize protocol stack in RTU mode for a slave with address 10 = 0x0A 135 * \param ucSlaveAddress The slave address. Only frames sent to this 147 * - eMBErrorCode::MB_EINVAL If the slave address was not valid. Valid 148 * slave addresses are in the range 1 - 247. 164 * - eMBErrorCode::MB_EINVAL If the slave address was not valid. Valid 165 * slave addresses are in the range 1 - 247. 213 * is given by the application dependent Modbus slave timeout. Internally the 224 * \brief Configure the slave id of the device. 226 * This function should be called when the Modbus function <em>Report Slave ID</em> 229 * \param ucSlaveID Values is returned in the <em>Slave ID</em> byte of the [all …]
|
H A D | mbconfig.h | 56 /*! \brief If Modbus Slave ASCII support is enabled. */ 58 /*! \brief If Modbus Slave RTU support is enabled. */ 60 /*! \brief If Modbus Slave TCP support is enabled. */ 77 /*! \brief Number of bytes which should be allocated for the <em>Report Slave ID 81 * report slave id function. See eMBSetSlaveID( ) for more information on 86 /*! \brief If the <em>Report Slave ID</em> function should be enabled. */ 115 /*! \brief If master send a frame which is not broadcast,the master will wait sometime for slave. 116 * And if slave is not respond in this time,the master will process this timeout error. 120 * \note : The slave ID must be continuous from 1.*/
|
H A D | mbproto.h | 39 #define MB_ADDRESS_MIN ( 1 ) /*! Smallest possible slave address. */ 40 #define MB_ADDRESS_MAX ( 247 ) /*! Biggest possible slave address. */
|
H A D | mb_m.h | 91 MB_TMODE_RESPOND_TIMEOUT, /*!< Master wait respond for slave. */ 130 * - eMBErrorCode::MB_EINVAL If the slave address was not valid. Valid 131 * slave addresses are in the range 1 - 247. 179 * is given by the application dependent Modbus slave timeout. Internally the
|
/nrf52832-nimble/rt-thread/components/net/freemodbus/port/ |
H A D | user_mb_app.c | 2 * FreeModbus Libary: user callback functions and buffer define in slave mode 23 /*------------------------Slave mode use these variables----------------------*/ 24 //Slave mode:DiscreteInputs variables 31 //Slave mode:Coils variables 38 //Slave mode:InputRegister variables 41 //Slave mode:HoldingRegister variables 46 * Modbus slave input register callback function. 92 * Modbus slave holding register callback function. 156 * Modbus slave coils callback function. 234 * Modbus slave discrete callback function.
|
H A D | portserial.c | 38 /* modbus slave serial device */ 110 rt_event_init(&event_serial, "slave event", RT_IPC_FLAG_PRIO); in xMBPortSerialInit() 112 "slave trans", in xMBPortSerialInit()
|
/nrf52832-nimble/rt-thread/components/net/freemodbus/ |
H A D | Kconfig | 1 menu "Modbus master and slave stack" 13 bool "RTU slave mode"
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/ |
H A D | ble_ll_sched.c | 337 * slave is 1.25 msecs from the end of the connection request. The in ble_ll_sched_master_new() 346 * connect request. All this means is that we presume that the slave will in ble_ll_sched_master_new() 354 * master has to tell the slave how many transmit window offsets there are in ble_ll_sched_master_new() 359 * make things a bit easier (but less power efficient for the slave), we in ble_ll_sched_master_new() 366 * after the window offset we tell the slave. For example, say we think in ble_ll_sched_master_new() 369 * transmitting earlier than the slave thinks we could end up transmitting in ble_ll_sched_master_new() 371 * transmit window to do so. Transmitting before is bad, since the slave in ble_ll_sched_master_new() 567 * slave is 1.25 msecs from the end of the connection request. The in ble_ll_sched_master_new() 576 * connect request. All this means is that we presume that the slave will in ble_ll_sched_master_new() 584 * master has to tell the slave how many transmit window offsets there are in ble_ll_sched_master_new() [all …]
|
H A D | ble_ll_ctrl.c | 297 * connect param request from a slave if we are currently trying to in ble_ll_ctrl_conn_param_pdu_proc() 304 * Not sure what to do about the slave. It is possible that the in ble_ll_ctrl_conn_param_pdu_proc() 381 * the amount of slave latency as the slave may not be listening in ble_ll_ctrl_conn_upd_make() 678 * @param slave_req flag denoting if slave requested this. 0: no 1:yes 881 /* NOTE: slave should never receive one of these */ in ble_ll_ctrl_rx_phy_rsp() 889 * NOTE: slave is the only device that should receive this. 936 * that the slave will receive on; s to m is the one it will in ble_ll_ctrl_rx_phy_update_ind() 1038 * different PDUs allowed for master/slave and TX/RX 1248 * should only be received by a slave. 1399 /* Procedure has completed but slave needs to send START_ENC_RSP */ in ble_ll_ctrl_rx_start_enc_rsp() [all …]
|
H A D | ble_ll_conn.c | 65 * 3) Make sure we are setting the schedule end time properly for both slave 87 * purely slave. We can make a union of them. 94 * 12) When a slave receives a data packet in a connection it has to send a 436 * is the amount of time that a slave has to account for when listening for 857 * Callback for slave when it transmits a data pdu and the connection event 1135 * a slave and we are sending the START_ENC_RSP. The master has in ble_ll_conn_tx_data_pdu() 1136 * to wait to receive the START_ENC_RSP from the slave before in ble_ll_conn_tx_data_pdu() 1218 * For slave: in ble_ll_conn_tx_data_pdu() 1294 * If we are a slave, check to see if this transmission will end the in ble_ll_conn_tx_data_pdu() 1299 * XXX: for a slave, we dont check to see if we can: in ble_ll_conn_tx_data_pdu() [all …]
|
H A D | ble_ll_conn_hci.c | 838 * XXX: must deal with slave not supporting this feature and using in ble_ll_conn_hci_update() 870 * If we are a slave and the master has initiated the procedure already in ble_ll_conn_hci_update() 871 * we should deny the slave request for now. If we are a master and the in ble_ll_conn_hci_update() 872 * slave has initiated the procedure, we need to send a reject to the in ble_ll_conn_hci_update() 873 * slave. in ble_ll_conn_hci_update() 888 * If we are a slave and the master has initiated the channel map in ble_ll_conn_hci_update() 889 * update procedure we should deny the slave request for now. in ble_ll_conn_hci_update()
|
/nrf52832-nimble/nordic/nrfx/drivers/src/ |
H A D | nrfx_spis.c | 114 volatile uint32_t tx_buffer_size; //!< SPI slave TX buffer size in bytes. 115 volatile uint32_t rx_buffer_size; //!< SPI slave RX buffer size in bytes. 117 volatile const uint8_t * tx_buffer; //!< SPI slave TX buffer. 118 volatile uint8_t * rx_buffer; //!< SPI slave RX buffer. 120 volatile nrfx_spis_state_t spi_state; //!< SPI slave state. 285 // Enable SPI slave device. in nrfx_spis_init()
|
/nrf52832-nimble/rt-thread/components/drivers/spi/ |
H A D | spi_wifi_rw009.h | 21 uint32_t M2S_len; // master to slave data len. 35 uint32_t S2M_len; // slave to master data len. 44 /* spi slave configure. */
|
/nrf52832-nimble/nordic/nrfx/mdk/ |
H A D | nrf52810_peripherals.h | 149 /* Serial Peripheral Interface Slave with DMA*/ 161 /* Two Wire Interface Slave with DMA */
|
H A D | nrf9160_peripherals.h | 113 /* Serial Peripheral Interface Slave with DMA*/ 131 /* Two Wire Interface Slave with DMA */
|
H A D | nrf52840_peripherals.h | 193 /* Serial Peripheral Interface Slave with DMA*/ 212 /* Two Wire Interface Slave with DMA */
|
H A D | nrf52832_peripherals.h | 186 /* Serial Peripheral Interface Slave with DMA*/ 205 /* Two Wire Interface Slave with DMA */
|
/nrf52832-nimble/nordic/nrfx/hal/ |
H A D | nrf_twis.h | 45 * @brief Hardware access layer for managing the Two Wire Interface Slave with EasyDMA 58 …NRF_TWIS_TASK_PREPARERX = offsetof(NRF_TWIS_Type, TASKS_PREPARERX), /**< Prepare the TWIS slave to… 59 …NRF_TWIS_TASK_PREPARETX = offsetof(NRF_TWIS_Type, TASKS_PREPARETX) /**< Prepare the TWIS slave to… 420 * @brief Function for setting slave address 435 * @brief Function for retrieving configured slave address
|