3.4.2 Write

The following table provides the command syntax for Reg value write before initialization.

Table 3-34. Reg Value Write: Before Initialization ATWINC/ATWILC
Command Syntax MCHPRT REGW X Y
REGW
  • REGW refers to using I2C
  • REGW_UART refers to using UART
X X refers to the register number that writes the register location
Y Y refers to the write register value that writes the register value
Example MCHPRT REGW 0 8

Reg 0 value will change to 8

The following figure shows the example of Reg value write before initialization.

Figure 3-41. Console Log of Reg Value Write Before Initialization

The following table provides the command syntax for Reg value write after initialization.

Table 3-35. Reg Value Write: After Initialization ATWINC/ATWILC
Command Syntax MCHPRT 16 REGW X Y
X X refers to the register number that writes the register location
Y Y refers to the write register value that writes the register value
Example MCHPRT 16 REGW 0 8

Reg 0 value will change to 8

Figure 3-42. Console Log of Reg Value Write After Initialization