CHAPTER 7-3: VBAT Domain(B)
334 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
When using the VBAT I/O as a general-purpose I/O output:
・Setting procedure example
The following is a setting example of using P46, P47, P48 and P49 all as general-purpose I/O outputs.
(1) Initiate the VBAT domain (see Figure 2-6).
(2) Set the general-purpose IO port to use it as the GPIO pin.
(3) Set the port output direction to the output direction.
(4) Set the port output data register.
(5) Set the port pseudo open drain register (only P48 and P49 can be set).
(6) Transfer the setting value to the VBAT domain.
(7) Wait until the transfer is completed.