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 SyntaxMCHPRT REGW X Y
REGW
  • REGW refers to using I2C
  • REGW_UART refers to using UART
XX refers to the register number that writes the register location
YY refers to the write register value that writes the register value
ExampleMCHPRT 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 SyntaxMCHPRT 16 REGW X Y
XX refers to the register number that writes the register location
YY refers to the write register value that writes the register value
ExampleMCHPRT 16 REGW 0 8

Reg 0 value will change to 8

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