Lines Matching +full:ram +full:- +full:up
55 typedef enum /*lint -save -e30 */
64 } nrf_nfct_task_t; /*lint -restore */
69 typedef enum /*lint -save -e30 */
75 …FCT_Type, EVENTS_TXFRAMEEND), /**< The end of the last transmitted on-air symbol of a frame…
77 …D), /**< Received data was checked (CRC, parity) and transferred to RAM, and EasyDMA ended …
80 …EVENTS_ENDRX), /**< RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. */
81 …tof(NRF_NFCT_Type, EVENTS_ENDTX), /**< Transmission of data in RAM ended, and EasyDMA …
86 } nrf_nfct_event_t; /*lint -restore */
153 NRF_NFCT_TAG_STATE_RAMP_UP = NFCT_NFCTAGSTATE_NFCTAGSTATE_RampUp, /**< Ramping up. */
255 /**< SENS_RES 'Platform Config' field (b4-b1) value for Type 1 Tag platform. */
257 …/**< SENS_RES 'Platform Config' field (b7-b6) value for any platform except Type 1 Tag platform. */
277 NRF_NFCT_SELRES_PROTOCOL_NFCDEP = 2, /**< NFC-DEP Protocol. */
278 NRF_NFCT_SELRES_PROTOCOL_NFCDEP_T4AT = 3, /**< NFC-DEP Protocol and Type 4A Tag platform). */
415 * @retval NRF_NFCT_TAG_STATE_RAMP_UP NFC tag is ramping up.
451 * @return The minimum Frame Delay Time value in 13.56-MHz clock ticks.
461 * @param[in] frame_delay_min Minimum Frame Delay Time value in 13.56-MHz clock ticks.
473 * @return The maximum Frame Delay Time value in 13.56-MHz clock ticks.
485 * @param[in] frame_delay_max Maximum Frame Delay Time value in 13.56-MHz clock ticks.
513 * @note Buffer for the NFC RX/TX data is used by EasyDMA and must be located in RAM.
516 …* @param[in] max_txrx_len Maximum receive or transmit length in bytes (size of the RAM buffer for …
536 * @brief Function for setting up the flags of the NFC frame transmission configuration.
553 * @brief Function for setting up the NFC frame transmission.
573 * @brief Function for setting up the NFC frame reception.
620 * @details The automatic collision resolution mechanism as defined in ISO 14443-3 and NFC Forum
631 * @details The automatic collision resolution mechanism as defined in ISO 14443-3 and NFC Forum
639 * @details The automatic collision resolution mechanism as defined in ISO 14443-3 and NFC Forum
761 NRF_NFCT->SHORTS |= short_mask; in nrf_nfct_shorts_enable()
766 NRF_NFCT->SHORTS &= ~short_mask; in nrf_nfct_shorts_disable()
771 return NRF_NFCT->SHORTS; in nrf_nfct_shorts_get()
776 NRF_NFCT->SHORTS = short_mask; in nrf_nfct_shorts_set()
781 NRF_NFCT->INTENSET = int_mask; in nrf_nfct_int_enable()
786 return (bool)(NRF_NFCT->INTENSET & int_mask); in nrf_nfct_int_enable_check()
791 return NRF_NFCT->INTENSET; in nrf_nfct_int_enable_get()
796 NRF_NFCT->INTENCLR = int_mask; in nrf_nfct_int_disable()
801 return NRF_NFCT->ERRORSTATUS; in nrf_nfct_error_status_get()
806 NRF_NFCT->ERRORSTATUS = error_flags; in nrf_nfct_error_status_clear()
811 return NRF_NFCT->FRAMESTATUS.RX; in nrf_nfct_rx_frame_status_get()
816 NRF_NFCT->FRAMESTATUS.RX = framestatus_flags; in nrf_nfct_rx_frame_status_clear()
822 return (nrf_nfct_tag_state_t)((NRF_NFCT->NFCTAGSTATE & NFCT_NFCTAGSTATE_NFCTAGSTATE_Msk) >> in nrf_nfct_tag_state_get()
830 return (nrf_nfct_sleep_state_t)((NRF_NFCT->SLEEPSTATE & NFCT_SLEEPSTATE_SLEEPSTATE_Msk) >> in nrf_nfct_sleep_state_get()
837 return (uint8_t)(NRF_NFCT->FIELDPRESENT); in nrf_nfct_field_status_get()
842 return (uint16_t)((NRF_NFCT->FRAMEDELAYMIN & NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Msk) >> in nrf_nfct_frame_delay_min_get()
848 NRF_NFCT->FRAMEDELAYMIN = in nrf_nfct_frame_delay_min_set()
855 return (NRF_NFCT->FRAMEDELAYMAX & NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Msk) >> in nrf_nfct_frame_delay_max_get()
861 NRF_NFCT->FRAMEDELAYMAX = in nrf_nfct_frame_delay_max_set()
868 return (nrf_nfct_frame_delay_mode_t)(NRF_NFCT->FRAMEDELAYMODE & in nrf_nfct_frame_delay_mode_get()
874 NRF_NFCT->FRAMEDELAYMODE = (uint32_t)frame_delay_mode; in nrf_nfct_frame_delay_mode_set()
879 return (uint8_t *)(NRF_NFCT->PACKETPTR); in nrf_nfct_rxtx_buffer_get()
885 NRF_NFCT->PACKETPTR = (uint32_t)p_rxtx_buf; in nrf_nfct_rxtx_buffer_set()
886 NRF_NFCT->MAXLEN = ((uint32_t)max_txrx_len << NFCT_MAXLEN_MAXLEN_Pos) & in nrf_nfct_rxtx_buffer_set()
892 return (uint16_t)((NRF_NFCT->MAXLEN & NFCT_MAXLEN_MAXLEN_Msk) >> NFCT_MAXLEN_MAXLEN_Pos); in nrf_nfct_max_rxtx_length_get()
897 return (uint8_t)(NRF_NFCT->TXD.FRAMECONFIG); in nrf_nfct_tx_frame_config_get()
902 NRF_NFCT->TXD.FRAMECONFIG = flags; in nrf_nfct_tx_frame_config_set()
907 return (uint16_t)(NRF_NFCT->TXD.AMOUNT & (NFCT_TXD_AMOUNT_TXDATABITS_Msk | in nrf_nfct_tx_bits_get()
913 …NRF_NFCT->TXD.AMOUNT = (tx_bits & (NFCT_TXD_AMOUNT_TXDATABITS_Msk | NFCT_TXD_AMOUNT_TXDATABYTES_Ms… in nrf_nfct_tx_bits_set()
918 return (uint8_t)(NRF_NFCT->RXD.FRAMECONFIG); in nrf_nfct_rx_frame_config_get()
923 NRF_NFCT->RXD.FRAMECONFIG = flags; in nrf_nfct_rx_frame_config_set()
928 uint16_t rx_bits = NRF_NFCT->RXD.AMOUNT & (NFCT_RXD_AMOUNT_RXDATABITS_Msk | in nrf_nfct_rx_bits_get()
930 return rx_bits - (crc_excluded ? (8u * NRF_NFCT_CRC_SIZE) : 0); in nrf_nfct_rx_bits_get()
935 uint32_t nfcid1_last = NRF_NFCT->NFCID1_LAST; in nrf_nfct_nfcid1_get()
937 (nrf_nfct_sensres_nfcid1_size_t)(NRF_NFCT->SENSRES & NFCT_SENSRES_NFCIDSIZE_Msk); in nrf_nfct_nfcid1_get()
941 uint32_t nfcid1_2nd_last = NRF_NFCT->NFCID1_2ND_LAST; in nrf_nfct_nfcid1_get()
945 uint32_t nfcid1_3rd_last = NRF_NFCT->NFCID1_3RD_LAST; in nrf_nfct_nfcid1_get()
975 NRF_NFCT->NFCID1_3RD_LAST = ((uint32_t)p_nfcid1_buf[0] << 16UL) | in nrf_nfct_nfcid1_set()
980 NRF_NFCT->NFCID1_2ND_LAST = ((uint32_t)p_nfcid1_buf[0] << 16UL) | in nrf_nfct_nfcid1_set()
986 NRF_NFCT->NFCID1_LAST = ((uint32_t)p_nfcid1_buf[0] << 24UL) | in nrf_nfct_nfcid1_set()
991 NRF_NFCT->SENSRES = ((NRF_NFCT->SENSRES & ~NFCT_SENSRES_NFCIDSIZE_Msk) | in nrf_nfct_nfcid1_set()
998 return (NRF_NFCT->AUTOCOLRESCONFIG & NFCT_AUTOCOLRESCONFIG_MODE_Msk) == in nrf_nfct_autocolres_is_enabled()
1004 NRF_NFCT->AUTOCOLRESCONFIG = in nrf_nfct_autocolres_enable()
1005 (NRF_NFCT->AUTOCOLRESCONFIG & ~NFCT_AUTOCOLRESCONFIG_MODE_Msk) | in nrf_nfct_autocolres_enable()
1011 NRF_NFCT->AUTOCOLRESCONFIG = in nrf_nfct_autocolres_disable()
1012 (NRF_NFCT->AUTOCOLRESCONFIG & ~NFCT_AUTOCOLRESCONFIG_MODE_Msk) | in nrf_nfct_autocolres_disable()
1019 return (nrf_nfct_sensres_nfcid1_size_t)(NRF_NFCT->SENSRES & NFCT_SENSRES_NFCIDSIZE_Msk); in nrf_nfct_sensres_nfcid1_size_get()
1024 … NRF_NFCT->SENSRES = ((NRF_NFCT->SENSRES & ~(NFCT_SENSRES_NFCIDSIZE_Msk)) | (uint32_t)nfcid1_size); in nrf_nfct_sensres_nfcid1_size_set()
1029 return (nrf_nfct_sensres_bit_frame_sdd_t)(NRF_NFCT->SENSRES & NFCT_SENSRES_BITFRAMESDD_Msk); in nrf_nfct_sensres_bit_frame_sdd_get()
1034 …NRF_NFCT->SENSRES = ((NRF_NFCT->SENSRES & ~(NFCT_SENSRES_BITFRAMESDD_Msk)) | (uint32_t)bit_frame_s… in nrf_nfct_sensres_bit_frame_sdd_set()
1039 return (nrf_nfct_sensres_platform_config_t)(NRF_NFCT->SENSRES & NFCT_SENSRES_PLATFCONFIG_Msk); in nrf_nfct_sensres_platform_config_get()
1044 …NRF_NFCT->SENSRES = ((NRF_NFCT->SENSRES & ~(NFCT_SENSRES_PLATFCONFIG_Msk)) | (uint32_t)platform_co… in nrf_nfct_sensres_platform_config_set()
1049 return (bool)(NRF_NFCT->SELRES & NFCT_SELRES_CASCADE_Msk); in nrf_nfct_selsres_cascade_check()
1054 return (nrf_nfct_selres_protocol_t)((NRF_NFCT->SELRES & NFCT_SELRES_PROTOCOL_Msk) >> in nrf_nfct_selsres_protocol_get()
1060 NRF_NFCT->SELRES = (NRF_NFCT->SELRES & ~NFCT_SELRES_PROTOCOL_Msk) | in nrf_nfct_selres_protocol_set()