Home
last modified time | relevance | path

Searched full:master (Results 1 – 25 of 131) sorted by relevance

123456

/nrf52832-nimble/rt-thread/components/drivers/mtd/
H A Dmtd.c14 static rt_mtd_t* mtd_part_alloc(rt_mtd_t *master, const struct mtd_part *part) in mtd_part_alloc() argument
22 slave->master = master; in mtd_part_alloc()
24 *slave = *master; in mtd_part_alloc()
55 int rt_mtd_register(rt_mtd_t *master, const struct mtd_part *parts, int np) in rt_mtd_register() argument
60 master->master = master; in rt_mtd_register()
61 master->parent.type = RT_Device_Class_MTD; in rt_mtd_register()
65 master->offset = parts->offset; in rt_mtd_register()
66 master->size = parts->size; in rt_mtd_register()
68 ret = rt_device_register((rt_device_t)master, parts->name, 0); in rt_mtd_register()
78 slave = mtd_part_alloc(master, parts); in rt_mtd_register()
[all …]
/nrf52832-nimble/rt-thread/components/net/freemodbus/port/
H A Dportevent_m.c19 * File: $Id: portevent_m.c v 1.60 2013/08/13 15:07:05 Armink add Master Functions$
37 rt_event_init(&xMasterOsEvent,"master event",RT_IPC_FLAG_PRIO); in xMBMasterPortEventInit()
80 * This function is initialize the OS resource for modbus master.
86 rt_sem_init(&xMasterRunRes, "master res", 0x01 , RT_IPC_FLAG_PRIO); in vMBMasterOsResInit()
90 * This function is take Mobus Master running resource.
104 * This function is release Mobus Master running resource.
115 * This is modbus master respond timeout error process callback function.
116 * @note There functions will block modbus master poll while execute OS waiting.
127 * @note This code is use OS's event mechanism for modbus master protocol stack. in vMBMasterErrorCBRespondTimeout()
137 * This is modbus master receive data error process callback function.
[all …]
H A Duser_mb_app_m.c2 * FreeModbus Libary: user callback functions and buffer define in master mode
23 /*-----------------------Master mode use these variables----------------------*/
25 //Master mode:DiscreteInputs variables
32 //Master mode:Coils variables
39 //Master mode:InputRegister variables
42 //Master mode:HoldingRegister variables
47 * Modbus master input register callback function.
93 * Modbus master holding register callback function.
116 /* if mode is read, the master will write the received date to buffer. */ in eMBMasterRegHoldingCB()
158 * Modbus master coils callback function.
[all …]
H A Duser_mb_app.h28 /* -----------------------Master Defines -------------------------------------*/
37 /* master mode: holding register's all address */
39 /* master mode: input register's all address */
41 /* master mode: coil's all address */
43 /* master mode: discrete's all address */
H A Dportserial_m.c19 * File: $Id: portserial_m.c,v 1.60 2013/08/13 15:07:05 Armink add Master Functions $
39 /* modbus master serial device */
112 rt_event_init(&event_serial, "master event", RT_IPC_FLAG_PRIO); in xMBMasterPortSerialInit()
114 "master trans", in xMBMasterPortSerialInit()
/nrf52832-nimble/rt-thread/components/net/freemodbus/modbus/
H A Dmb_m.c28 * File: $Id: mbrtu_m.c,v 1.60 2013/08/20 11:18:10 Armink Add Master Functions $
79 * Using for Modbus Master,Add by Armink 20130813
90 * Using for Modbus Master,Add by Armink 20130813
104 //TODO Add Master function define
188 /* initialize the OS resource for modbus master. */ in eMBMasterInit()
313 /* If master request is broadcast, in eMBMasterPoll()
314 * the master need execute function for all slave. in eMBMasterPoll()
331 … /* If master has exception ,Master will send error process.Otherwise the Master is idle.*/ in eMBMasterPoll()
343 /* Master is busy now. */ in eMBMasterPoll()
373 /* Get whether the Modbus Master is run in master mode.*/
[all …]
/nrf52832-nimble/rt-thread/components/net/freemodbus/modbus/include/
H A Dmbconfig.h29 * $Id: mbconfig.h,v 1.60 2013/08/13 21:19:55 Armink Add Master Functions $
50 /*! \brief If Modbus Master ASCII support is enabled. */
52 /*! \brief If Modbus Master RTU support is enabled. */
54 /*! \brief If Modbus Master TCP support is enabled. */
112 /*! \brief If master send a broadcast frame,the master will wait time of convert to delay,
113 * then master can send other frame */
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.
117 * Then master can send other frame */
119 /*! \brief The total slaves in Modbus Master system. Default 16.
H A Dmb_m.h28 * File: $Id: mb_m.h,v 1.60 2013/09/03 10:20:05 Armink Add Master Functions $
42 * the basic functions and types required to use the Modbus Master protocol stack.
51 * // Initialize protocol stack in RTU mode for a Master
57 * // Call the main polling loop of the Modbus Master protocol stack.
67 * \brief Use the default Modbus Master TCP port (502)
73 * \brief Errorcodes used by all function in the Master request.
82 MB_MRE_MASTER_BUSY, /*!< master is busy now. */
86 * \brief TimerMode is Master 3 kind of Timer modes.
90 MB_TMODE_T35, /*!< Master receive frame T3.5 timeout. */
91 MB_TMODE_RESPOND_TIMEOUT, /*!< Master wait respond for slave. */
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/
H A Dsyscfg.yml49 # NOTE: 'the' master sca is an enumerated value based on the sca. Rather
53 # SCA between 251 and 500 ppm (inclusive); master sca = 0
54 # SCA between 151 and 250 ppm (inclusive); master sca = 1
55 # SCA between 101 and 150 ppm (inclusive); master sca = 2
56 # SCA between 76 and 100 ppm (inclusive); master sca = 3
57 # SCA between 51 and 75 ppm (inclusive); master sca = 4
58 # SCA between 31 and 50 ppm (inclusive); master sca = 5
59 # SCA between 21 and 30 ppm (inclusive); master sca = 6
60 # SCA between 0 and 20 ppm (inclusive); master sca = 7
63 # if your clock drift is 101 ppm, your master should be set to 2.
[all …]
/nrf52832-nimble/rt-thread/components/net/freemodbus/modbus/rtu/
H A Dmbrtu_m.c28 * File: $Id: mbrtu_m.c,v 1.60 2013/08/17 11:42:56 Armink Add Master Functions $
202 * slow with processing the received frame and the master sent another in eMBMasterRTUSend()
330 /* If the frame is broadcast ,master will enable timer of convert delay, in xMBMasterRTUTransmitFSM()
331 * else master will enable timer of respond timeout. */ in xMBMasterRTUTransmitFSM()
383 * If the frame is broadcast,The master will idle,and if the frame is not in xMBMasterRTUTimerExpired()
400 /* If timer mode is convert delay, the master event then turns EV_MASTER_EXECUTE status. */ in xMBMasterRTUTimerExpired()
408 /* Get Modbus Master send RTU's buffer address pointer.*/
414 /* Get Modbus Master send PDU's buffer address pointer.*/
420 /* Set Modbus Master send PDU's buffer length.*/
426 /* Get Modbus Master send PDU's buffer length.*/
[all …]
/nrf52832-nimble/nordic/nrfx/drivers/include/
H A Dnrfx_spi.h50 * @brief SPI master driver instance data structure.
72 * @brief Macro for creating an SPI master driver instance.
88 * @brief SPI master driver instance configuration structure.
115 * @brief SPI master instance default configuration.
173 * @brief SPI master driver event types, passed to the handler routine provided
188 * @brief SPI master driver event handler type.
194 * @brief Function for initializing the SPI master driver instance.
218 * @brief Function for uninitializing the SPI master driver instance.
H A Dnrfx_spim.h50 * @brief SPIM master driver instance data structure.
75 * @brief Macro for creating an SPIM master driver instance.
91 * @brief SPIM master driver instance configuration structure.
131 * @brief SPIM master instance extended default configuration.
143 * @brief SPIM master instance default configuration.
209 * @brief SPIM master driver event types, passed to the handler routine provided
224 * @brief SPIM master driver event handler type.
230 * @brief Function for initializing the SPI master driver instance.
256 * @brief Function for uninitializing the SPI master driver instance.
H A Dnrfx_twi.h50 * @brief Structure for the TWI master driver instance.
59 * @brief Macro for creating a TWI master driver instance.
78 * @brief Structure for the TWI master driver instance configuration.
90 * @brief TWI master driver instance default configuration.
105 * @brief TWI master driver event types.
115 * @brief TWI master driver transfer types.
H A Dnrfx_twim.h50 * @brief Structure for the TWI master driver instance.
59 * @brief Macro for creating a TWI master driver instance.
84 * @brief Structure for the TWI master driver instance configuration.
96 * @brief TWI master driver instance default configuration.
115 * @brief TWI master driver event types.
125 * @brief TWI master driver transfer types.
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/
H A Dsavannah.txt7 3 - Merging a development branch to master branch
15 To perform an anonymous Git clone of the master branch (this is where
65 3 - Merging a development branch to master branch
71 Checkout the master branch:
72 git checkout master
74 Merge the development branch to master:
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/doc/
H A Dsavannah.txt7 3 - Merging a development branch to master branch
15 To perform an anonymous Git clone of the master branch (this is where
65 3 - Merging a development branch to master branch
71 Checkout the master branch:
72 git checkout master
74 Merge the development branch to master:
/nrf52832-nimble/nordic/nrfx/mdk/
H A Dnrf52840_peripherals.h160 /* Serial Peripheral Interface Master */
164 /* Serial Peripheral Interface Master with DMA */
201 /* Two Wire Interface Master */
205 /* Two Wire Interface Master with DMA */
H A Dnrf52832_peripherals.h158 /* Serial Peripheral Interface Master */
162 /* Serial Peripheral Interface Master with DMA */
194 /* Two Wire Interface Master */
198 /* Two Wire Interface Master with DMA */
H A Dnrf51422_peripherals.h121 /* Serial Peripheral Interface Master */
131 /* Two Wire Interface Master */
H A Dnrf51824_peripherals.h122 /* Serial Peripheral Interface Master */
132 /* Two Wire Interface Master */
/nrf52832-nimble/rt-thread/components/net/freemodbus/
H A DKconfig1 menu "Modbus master and slave stack"
9 bool "RTU master mode"
/nrf52832-nimble/rt-thread/tools/
H A Dsconsui.py110 def __init__(self, master=None, **kw): argument
111 ttk.Frame.__init__(self, master, **kw)
145 def __init__(self, master=None): argument
149 master.configure(background=default)
151 notebook = ttk.Notebook(master)
175 padding = ttk.Frame(master)
H A Dpymenuconfig.py428 def __init__(self, master, text, title, ident=None, value=None): argument
429 self.master = master
430 dlg = self.dlg = tk.Toplevel(master)
471 dlg.transient(master)
474 _center_window_above_parent(master, dlg)
488 def __init__(self, master, text, title): argument
489 self.master = master
490 dlg = self.dlg = tk.Toplevel(master)
512 dlg.transient(master)
515 _center_window_above_parent(master, dlg)
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/
H A Dble_ll_ctrl.c296 * the host? Note that for a master we will not be processing a in ble_ll_ctrl_conn_param_pdu_proc()
299 * check is all we need for a master (when receiving a request). in ble_ll_ctrl_conn_param_pdu_proc()
828 /* Respond to master's phy update procedure */ in ble_ll_ctrl_rx_phy_req()
1038 * different PDUs allowed for master/slave and TX/RX
1184 * Controller generates master portion of SDK and IV.
1214 * Called when LL_ENC_RSP is received by the master.
1222 * The master now has the long term key (from the start encrypt command)
1260 * NOTE: if this is received by a master we will silently discard the PDU
1312 /* Only master should receive start enc request */ in ble_ll_ctrl_rx_start_enc_req()
1390 /* If master, we are done. Stop control procedure and sent event to host */ in ble_ll_ctrl_rx_start_enc_rsp()
[all …]
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/
H A Dsdio.h48 #define SDIO_REG_CCCR_INT_EN 0x04 /* Function/Master Interrupt Enable */
87 #define SDIO_POWER_SMPC 0x01 /* Supports Master Power Control */
88 #define SDIO_POWER_EMPC 0x02 /* Enable Master Power Control */

123456