Dependents:
NNN50_CE_Test_UDP
NNN50_linux_firmware
NNN50_SoftAP_HelloWorld
NNN50_BLEWIFISensor
... more
« Back to documentation index
m2m_periph.h File Reference
WINC Peripherals Application Interface.
More...
Go to the source code of this file.
Data Structures
struct tstrPerphInitParam
Peripheral module initialization parameters. More...
struct tstrI2cMasterInitParam
I2C master configuration parameters. More...
Enumerations
enum tenuGpioNum {
M2M_PERIPH_GPIO3 ,
M2M_PERIPH_GPIO4 ,
M2M_PERIPH_GPIO5 ,
M2M_PERIPH_GPIO6 ,
M2M_PERIPH_GPIO15 ,
M2M_PERIPH_GPIO16 ,
M2M_PERIPH_GPIO18
}
A list of GPIO numbers configurable through the m2m_periph module.
More...
enum tenuI2cMasterSclMuxOpt {
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_HOST_WAKEUP ,
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_SD_DAT3 ,
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_GPIO13 ,
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_GPIO4 ,
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_I2C_SCL
}
Allowed pin multiplexing options for I2C master SCL signal.
More...
enum tenuI2cMasterSdaMuxOpt {
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_RTC_CLK ,
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_SD_CLK ,
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_GPIO14 ,
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_GPIO6 ,
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_I2C_SDA
}
Allowed pin multiplexing options for I2C master SDA signal.
More...
enum tenuI2cMasterFlags { I2C_MASTER_NO_FLAGS = 0x00,
I2C_MASTER_NO_STOP = 0x01,
I2C_MASTER_NO_START = 0x02
}
Bitwise-ORed flags for use in m2m_periph_i2c_master_write and m2m_periph_i2c_master_read.
More...
enum tenuPullupMask
Bitwise-ORed flags for use in m2m_perph_pullup_ctrl.
More...
Detailed Description
WINC Peripherals Application Interface.
Copyright (c) 2016 Atmel Corporation. All rights reserved.
Definition in file m2m_periph.h .
Enumeration Type Documentation
A list of GPIO numbers configurable through the m2m_periph module.
Enumerator:
M2M_PERIPH_GPIO3
GPIO15 pad
M2M_PERIPH_GPIO4
GPIO16 pad
M2M_PERIPH_GPIO5
GPIO18 pad
M2M_PERIPH_GPIO6
GPIO18 pad
M2M_PERIPH_GPIO15
GPIO15 pad
M2M_PERIPH_GPIO16
GPIO16 pad
M2M_PERIPH_GPIO18
GPIO18 pad
Definition at line 81 of file m2m_periph.h .
Bitwise-ORed flags for use in m2m_periph_i2c_master_write and m2m_periph_i2c_master_read.
See also: m2m_periph_i2c_master_write m2m_periph_i2c_master_read
Enumerator:
I2C_MASTER_NO_FLAGS
No flags.
I2C_MASTER_NO_STOP
No stop bit after this transaction. Useful for scattered buffer read/write operations.
I2C_MASTER_NO_START
No start bit at the beginning of this transaction. Useful for scattered buffer read/write operations.
Definition at line 152 of file m2m_periph.h .
Allowed pin multiplexing options for I2C master SCL signal.
Enumerator:
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_HOST_WAKEUP
I2C master SCL is avaiable on HOST_WAKEUP.
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_SD_DAT3
I2C master SCL is avaiable on SD_DAT3 (GPIO 7).
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_GPIO13
I2C master SCL is avaiable on GPIO 13.
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_GPIO4
I2C master SCL is avaiable on GPIO 4.
M2M_PERIPH_I2C_MASTER_SCL_MUX_OPT_I2C_SCL
I2C master SCL is avaiable on I2C slave SCL.
Definition at line 100 of file m2m_periph.h .
Allowed pin multiplexing options for I2C master SDA signal.
Enumerator:
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_RTC_CLK
I2C master SDA is avaiable on RTC_CLK.
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_SD_CLK
I2C master SDA is avaiable on SD_CLK (GPIO 8).
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_GPIO14
I2C master SDA is avaiable on GPIO 14.
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_GPIO6
I2C master SDA is avaiable on GPIO 6.
M2M_PERIPH_I2C_MASTER_SDA_MUX_OPT_I2C_SDA
I2C master SDA is avaiable on I2C slave SDA.
Definition at line 116 of file m2m_periph.h .
Bitwise-ORed flags for use in m2m_perph_pullup_ctrl.
See also: m2m_periph_pullup_ctrl
Definition at line 171 of file m2m_periph.h .