Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 87) sorted by relevance

1234

/loramac-node-3.4.0/src/boards/SKiM980A/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
80 if( mode == PIN_INPUT ) in GpioMcuInit()
84 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
88 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
113 if( mode == PIN_OUTPUT ) in GpioMcuInit()
124 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
Duart-board.c62 void UartMcuConfig( Uart_t *obj, UartMode_t mode, uint32_t baudrate, WordLength_t wordLength, StopB… in UartMcuConfig() argument
67 UartUsbConfig( obj, mode, baudrate, wordLength, stopBits, parity, flowCtrl ); in UartMcuConfig()
75 if( mode == TX_ONLY ) in UartMcuConfig()
83 else if( mode == RX_ONLY ) in UartMcuConfig()
91 else if( mode == RX_TX ) in UartMcuConfig()
/loramac-node-3.4.0/src/boards/NucleoL152/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
80 if( mode == PIN_INPUT ) in GpioMcuInit()
84 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
88 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
113 if( mode == PIN_OUTPUT ) in GpioMcuInit()
124 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
/loramac-node-3.4.0/src/boards/NucleoL476/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
80 if( mode == PIN_INPUT ) in GpioMcuInit()
84 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
88 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
113 if( mode == PIN_OUTPUT ) in GpioMcuInit()
124 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
Duart-board.c62 void UartMcuConfig( Uart_t *obj, UartMode_t mode, uint32_t baudrate, WordLength_t wordLength, StopB… in UartMcuConfig() argument
67 UartUsbConfig( obj, mode, baudrate, wordLength, stopBits, parity, flowCtrl ); in UartMcuConfig()
75 if( mode == TX_ONLY ) in UartMcuConfig()
83 else if( mode == RX_ONLY ) in UartMcuConfig()
91 else if( mode == RX_TX ) in UartMcuConfig()
/loramac-node-3.4.0/src/boards/NucleoL073/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
79 if( mode == PIN_INPUT ) in GpioMcuInit()
83 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
87 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
112 if( mode == PIN_OUTPUT ) in GpioMcuInit()
123 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
Duart-board.c62 void UartMcuConfig( Uart_t *obj, UartMode_t mode, uint32_t baudrate, WordLength_t wordLength, StopB… in UartMcuConfig() argument
67 UartUsbConfig( obj, mode, baudrate, wordLength, stopBits, parity, flowCtrl ); in UartMcuConfig()
75 if( mode == TX_ONLY ) in UartMcuConfig()
83 else if( mode == RX_ONLY ) in UartMcuConfig()
91 else if( mode == RX_TX ) in UartMcuConfig()
/loramac-node-3.4.0/src/boards/SKiM881AXL/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
79 if( mode == PIN_INPUT ) in GpioMcuInit()
83 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
87 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
112 if( mode == PIN_OUTPUT ) in GpioMcuInit()
123 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
Duart-board.c62 void UartMcuConfig( Uart_t *obj, UartMode_t mode, uint32_t baudrate, WordLength_t wordLength, StopB… in UartMcuConfig() argument
67 UartUsbConfig( obj, mode, baudrate, wordLength, stopBits, parity, flowCtrl ); in UartMcuConfig()
75 if( mode == TX_ONLY ) in UartMcuConfig()
83 else if( mode == RX_ONLY ) in UartMcuConfig()
91 else if( mode == RX_TX ) in UartMcuConfig()
/loramac-node-3.4.0/src/boards/SKiM880B/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
80 if( mode == PIN_INPUT ) in GpioMcuInit()
84 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
88 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
113 if( mode == PIN_OUTPUT ) in GpioMcuInit()
124 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
Duart-board.c62 void UartMcuConfig( Uart_t *obj, UartMode_t mode, uint32_t baudrate, WordLength_t wordLength, StopB… in UartMcuConfig() argument
67 UartUsbConfig( obj, mode, baudrate, wordLength, stopBits, parity, flowCtrl ); in UartMcuConfig()
75 if( mode == TX_ONLY ) in UartMcuConfig()
83 else if( mode == RX_ONLY ) in UartMcuConfig()
91 else if( mode == RX_TX ) in UartMcuConfig()
/loramac-node-3.4.0/src/boards/NAMote72/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
80 if( mode == PIN_INPUT ) in GpioMcuInit()
84 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
88 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
113 if( mode == PIN_OUTPUT ) in GpioMcuInit()
124 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/
Dlpm-board.c33 void LpmSetOffMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetOffMode() argument
37 switch( mode ) in LpmSetOffMode()
59 void LpmSetStopMode( LpmId_t id, LpmSetMode_t mode ) in LpmSetStopMode() argument
63 switch( mode ) in LpmSetStopMode()
119 LpmGetMode_t mode; in LpmGetMode() local
125 mode = LPM_SLEEP_MODE; in LpmGetMode()
131 mode = LPM_STOP_MODE; in LpmGetMode()
135 mode = LPM_OFF_MODE; in LpmGetMode()
140 return mode; in LpmGetMode()
Dgpio-board.c35 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
79 if( mode == PIN_INPUT ) in GpioMcuInit()
83 else if( mode == PIN_ANALOGIC ) in GpioMcuInit()
87 else if( mode == PIN_ALTERNATE_FCT ) in GpioMcuInit()
112 if( mode == PIN_OUTPUT ) in GpioMcuInit()
123 GpioIoeInit( obj, pin, mode, config, type, value ); in GpioMcuInit()
Duart-board.c62 void UartMcuConfig( Uart_t *obj, UartMode_t mode, uint32_t baudrate, WordLength_t wordLength, StopB… in UartMcuConfig() argument
67 UartUsbConfig( obj, mode, baudrate, wordLength, stopBits, parity, flowCtrl ); in UartMcuConfig()
75 if( mode == TX_ONLY ) in UartMcuConfig()
83 else if( mode == RX_ONLY ) in UartMcuConfig()
91 else if( mode == RX_TX ) in UartMcuConfig()
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/pm/
Dhpl_pm.c51 int32_t _set_sleep_mode(const uint8_t mode) in _set_sleep_mode() argument
53 switch (mode) { in _set_sleep_mode()
58 hri_pm_write_SLEEPCFG_SLEEPMODE_bf(PM, mode); in _set_sleep_mode()
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c178 … const enum usart_baud_rate_mode mode, const uint8_t fraction);
181 static void _usart_set_mode(void *const hw, const enum usart_mode mode);
241 … const enum usart_baud_rate_mode mode, const uint8_t fraction) in _usart_sync_calculate_baud_rate() argument
243 return _usart_calculate_baud_rate(baud, clock_rate, samples, mode, fraction); in _usart_sync_calculate_baud_rate()
250 … const enum usart_baud_rate_mode mode, const uint8_t fraction) in _usart_async_calculate_baud_rate() argument
252 return _usart_calculate_baud_rate(baud, clock_rate, samples, mode, fraction); in _usart_async_calculate_baud_rate()
322 void _usart_sync_set_mode(struct _usart_sync_device *const device, const enum usart_mode mode) in _usart_sync_set_mode() argument
324 _usart_set_mode(device->hw, mode); in _usart_sync_set_mode()
330 void _usart_async_set_mode(struct _usart_async_device *const device, const enum usart_mode mode) in _usart_async_set_mode() argument
332 _usart_set_mode(device->hw, mode); in _usart_async_set_mode()
[all …]
/loramac-node-3.4.0/src/boards/SAMR34/
Dgpio-board.c29 void GpioMcuInit( Gpio_t *obj, PinNames pin, PinModes mode, PinConfigs config, PinTypes type, uint3… in GpioMcuInit() argument
40 if( mode == PIN_INPUT ) in GpioMcuInit()
52 if( mode == PIN_OUTPUT ) in GpioMcuInit()

1234